summaryrefslogtreecommitdiff
path: root/debian/patches/gcc-powerpc-nof.diff
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2011-12-16 00:00:43 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2011-12-16 00:00:43 +0000
commit1ed753c7d69c8340eebc068b1d5b31d2554ce811 (patch)
treef16299769978d52cdec478852450851575bca99a /debian/patches/gcc-powerpc-nof.diff
downloadgcc-47-1ed753c7d69c8340eebc068b1d5b31d2554ce811.tar.gz
- create a gcc-4.7 branch
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.7@5753 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/patches/gcc-powerpc-nof.diff')
-rw-r--r--debian/patches/gcc-powerpc-nof.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/gcc-powerpc-nof.diff b/debian/patches/gcc-powerpc-nof.diff
new file mode 100644
index 0000000..437671b
--- /dev/null
+++ b/debian/patches/gcc-powerpc-nof.diff
@@ -0,0 +1,23 @@
+# DP: Don't build nof multlib on powerpc.
+
+Index: gcc-4.6-4.6.1/src/gcc/config/rs6000/t-linux64
+===================================================================
+--- gcc-4.6-4.6.1.orig/src/gcc/config/rs6000/t-linux64 2011-08-20 16:05:05.000000000 +0000
++++ gcc-4.6-4.6.1/src/gcc/config/rs6000/t-linux64 2011-08-20 16:08:08.900172593 +0000
+@@ -31,13 +31,10 @@
+ # it doesn't tell anything about the 32bit libraries on those systems. Set
+ # MULTILIB_OSDIRNAMES according to what is found on the target.
+
+-MULTILIB_OPTIONS = m64/m32 msoft-float
+-MULTILIB_DIRNAMES = 64 32 nof
++MULTILIB_OPTIONS = m64/m32
++MULTILIB_DIRNAMES = 64 32
+ MULTILIB_EXTRA_OPTS = fPIC mstrict-align
+-MULTILIB_EXCEPTIONS = m64/msoft-float
+-MULTILIB_EXCLUSIONS = m64/!m32/msoft-float
+-MULTILIB_OSDIRNAMES = ../lib64:powerpc64-linux-gnu $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib):powerpc-linux-gnu nof
+-MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT)
++MULTILIB_OSDIRNAMES = ../lib64:powerpc64-linux-gnu $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib):powerpc-linux-gnu
+
+ softfp_wrap_start := '\#ifndef __powerpc64__'
+ softfp_wrap_end := '\#endif'