[toolchain/gcc/linaro]: fix ppc toolchain build
[openwrt.git] / toolchain / gcc / patches / linaro / 200-ppc_include_config_linux_h.patch
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 (file)
index 0000000..39d259e
--- /dev/null
@@ -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
This page took 0.027857 seconds and 4 git commands to generate.