1
1
Index: gcc/debian/patches/cross-add-multiarch.diff
2
2
===================================================================
3
3
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
4
+++ gcc/debian/patches/cross-add-multiarch.diff 2012-04-03 11:02:58.456757857 +0000
4
+++ gcc/debian/patches/cross-add-multiarch.diff 2012-04-15 15:09:08.278742528 +0000
6
6
+Index: gcc/src/gcc/cppdefault.c
7
7
+===================================================================
8
+--- gcc.orig/src/gcc/cppdefault.c 2010-11-29 14:09:41.000000000 +0000
9
++++ gcc/src/gcc/cppdefault.c 2012-02-15 12:24:40.218526769 +0000
8
+--- gcc.orig/src/gcc/cppdefault.c 2012-01-06 00:14:32.000000000 +0000
9
++++ gcc/src/gcc/cppdefault.c 2012-04-15 15:08:23.450742535 +0000
11
12
+ #if defined (CROSS_DIRECTORY_STRUCTURE) && !defined (TARGET_SYSTEM_ROOT)
12
13
+ # undef LOCAL_INCLUDE_DIR
13
+ # undef SYSTEM_INCLUDE_DIR
14
+-# undef STANDARD_INCLUDE_DIR
14
+-# undef NATIVE_SYSTEM_HEADER_DIR
16
16
+ # undef CROSS_INCLUDE_DIR
18
18
Index: gcc/debian/rules.patch
19
19
===================================================================
20
--- gcc.orig/debian/rules.patch 2012-02-28 21:06:56.000000000 +0000
21
+++ gcc/debian/rules.patch 2012-04-03 11:02:58.456757857 +0000
23
ifeq ($(trunk_build),yes)
24
debian_patches += cross-include-trunk cross-fixes-trunk
26
- debian_patches += cross-include cross-fixes
27
+ debian_patches += cross-include cross-fixes cross-add-multiarch
20
--- gcc.orig/debian/rules.patch 2012-04-09 20:28:04.000000000 +0000
21
+++ gcc/debian/rules.patch 2012-04-15 15:08:44.970742533 +0000
25
ifeq ($(DEB_CROSS),yes)
26
- debian_patches += cross-include cross-fixes
27
+ debian_patches += cross-include cross-fixes cross-add-multiarch
30
ifeq ($(DEB_TARGET_ARCH_OS),hurd)