1
0
mirror of https://github.com/pmmp/musl-cross-make.git synced 2024-11-18 04:37:40 +00:00
musl-cross-make/patches/gcc-8.5.0/0020-powerpcspe.diff
Rich Felker 7600764f17 add gcc 8.x patch for powerpc-spe support
gcc 8 split this out into a separate config dir, but the files there
are old bitrotted ones without musl support.
2021-06-25 17:48:30 -04:00

12 lines
575 B
Diff

--- gcc-8.3.0/gcc/config.gcc.orig 2021-06-23 21:46:44.400306941 -0400
+++ gcc-8.3.0/gcc/config.gcc 2021-06-23 21:46:55.459427459 -0400
@@ -2479,7 +2479,7 @@
extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt"
tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-rtems rs6000/t-ppccomm"
;;
-powerpc*-*-linux*spe*)
+powerpc*-*-linux*gnu*spe*)
tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h freebsd-spec.h powerpcspe/sysv4.h"
extra_options="${extra_options} powerpcspe/sysv4.opt"
tmake_file="${tmake_file} powerpcspe/t-fprules powerpcspe/t-ppccomm"