summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches
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
commit6d378e7b20580b58d690795410df6d79db8330f4 (patch)
tree86333d38e3eb956de9d8f31d410865ad626ca315 /toolchain/gcc/patches
parent7f548d379f997732d0ab5f69ea3a1052fb524958 (diff)
downloadmtk-20170518-6d378e7b20580b58d690795410df6d79db8330f4.zip
mtk-20170518-6d378e7b20580b58d690795410df6d79db8330f4.tar.gz
mtk-20170518-6d378e7b20580b58d690795410df6d79db8330f4.tar.bz2
fix ppc toolchain build
SVN-Revision: 27551
Diffstat (limited to 'toolchain/gcc/patches')
-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 0000000..39d259e
--- /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