ports/lang/gcc6-devel/files/patch-spe-config
Mark Linimon d0c5aa8cc1 Allow gcc compilers to be built on new arch 'powerpcspe'.
Tested for no-harm on amd64.

Submitted by:		jhibbits
Approved by:		portmgr (tier-2 blanket)
Differential Revision:	D13126
2018-03-31 12:11:36 +00:00

15 lines
507 B
Text

--- UTC
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc.old 2017-04-05 17:48:03.045750000 -0500
+++ gcc/config.gcc 2017-04-05 17:49:22.143572000 -0500
@@ -2285,6 +2285,9 @@
tmake_file="${tmake_file} rs6000/t-freebsd64"
extra_options="${extra_options} rs6000/linux64.opt"
;;
+ powerpcspe-*)
+ tm_file="${tm_file} rs6000/freebsd.h rs6000/linuxspe.h rs6000/e500.h"
+ ;;
*)
tm_file="${tm_file} rs6000/freebsd.h"
;;