aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-07-07 22:19:38 +0000
committerImre Kaloz <kaloz@openwrt.org>2011-07-07 22:19:38 +0000
commitc7f23f3bc0e13c1c2f57fc0af3aa5cf99a68b08d (patch)
treea18290aa1c40835bdb33d5ebc9f599edbbf9d1f4 /toolchain/gcc
parent5b126c6b93d2b469fd1fa548952fc606cd287ae1 (diff)
downloadmaster-187ad058-c7f23f3bc0e13c1c2f57fc0af3aa5cf99a68b08d.tar.gz
master-187ad058-c7f23f3bc0e13c1c2f57fc0af3aa5cf99a68b08d.tar.bz2
master-187ad058-c7f23f3bc0e13c1c2f57fc0af3aa5cf99a68b08d.zip
[toolchain/gcc/linaro]: fix ppc toolchain build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27551 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/patches/linaro/200-ppc_include_config_linux_h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/linaro/200-ppc_include_config_linux_h.patch b/toolchain/gcc/patches/linaro/200-ppc_include_config_linux_h.patch
new file mode 100644
index 0000000000..39d259e10d
--- /dev/null
+++ b/toolchain/gcc/patches/linaro/200-ppc_include_config_linux_h.patch
@@ -0,0 +1,11 @@
+--- a/gcc/config.gcc
++++ b/gcc/config.gcc
+@@ -2028,7 +2028,7 @@ powerpc-*-rtems*)
+ tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-rtems t-rtems rs6000/t-ppccomm"
+ ;;
+ powerpc-*-linux* | powerpc64-*-linux*)
+- tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
++ tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h freebsd-spec.h rs6000/sysv4.h"
+ extra_options="${extra_options} rs6000/sysv4.opt"
+ tmake_file="t-dfprules rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
+ maybe_biarch=yes