diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2018-03-31 12:11:36 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2018-03-31 12:11:36 +0000 |
commit | d0c5aa8cc13c949fc023f4c2484fb6e43dfcbd8b (patch) | |
tree | 2cd5db266c8d5fab03fc51ffe23e978e0c05a7d8 /lang/gcc5 | |
parent | ff47063e2d322b0852c197556ea118a64332baa5 (diff) | |
download | ports-d0c5aa8cc13c949fc023f4c2484fb6e43dfcbd8b.tar.gz ports-d0c5aa8cc13c949fc023f4c2484fb6e43dfcbd8b.zip |
Notes
Diffstat (limited to 'lang/gcc5')
-rw-r--r-- | lang/gcc5/Makefile | 5 | ||||
-rw-r--r-- | lang/gcc5/files/patch-spe-config | 15 |
2 files changed, 19 insertions, 1 deletions
diff --git a/lang/gcc5/Makefile b/lang/gcc5/Makefile index 173cc9597aa7..e3800b11f043 100644 --- a/lang/gcc5/Makefile +++ b/lang/gcc5/Makefile @@ -15,7 +15,7 @@ LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi DEPRECATED= Unsupported by upstream. Use GCC 6 or newer instead. -ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 i386 powerpc powerpc64 sparc64 +ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 i386 powerpc powerpc64 powerpcspe sparc64 BROKEN_sparc64= Does not build: bootstrap comparison failure LIB_DEPENDS= libgmp.so:math/gmp \ @@ -66,6 +66,9 @@ MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 .elif ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" + +.elif ${ARCH} == powerpcspe +CONFIGURE_ARGS+= --with-cpu=8540 --enable-e500_double --without-fp .endif LANGUAGES:= c,c++,objc,fortran diff --git a/lang/gcc5/files/patch-spe-config b/lang/gcc5/files/patch-spe-config new file mode 100644 index 000000000000..276fe8951901 --- /dev/null +++ b/lang/gcc5/files/patch-spe-config @@ -0,0 +1,15 @@ +--- 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" + ;; |