svn commit: r442531 - in head/lang: gcc6 gcc6-devel
Gerald Pfeifer
gerald at FreeBSD.org
Sun Jun 4 04:57:46 UTC 2017
Author: gerald
Date: Sun Jun 4 04:57:44 2017
New Revision: 442531
URL: https://svnweb.freebsd.org/changeset/ports/442531
Log:
Replace the general USE_GCC=yes when building for powerpc64 by the
specific USE_GCC=5 to be future proof when GCC 6 becomes the default
(since USE_GCC=yes would then pull in lang/gcc6 which we obviously
cannot require to build gcc6 itself nor gcc6-devel). This also helps
users who play with GCC_DEFAULT in Mk/bsd.default-versions.mk.
Reported by: jhibbits
Discussed with: andreast
Modified:
head/lang/gcc6-devel/Makefile
head/lang/gcc6/Makefile
Modified: head/lang/gcc6-devel/Makefile
==============================================================================
--- head/lang/gcc6-devel/Makefile Sun Jun 4 04:17:48 2017 (r442530)
+++ head/lang/gcc6-devel/Makefile Sun Jun 4 04:57:44 2017 (r442531)
@@ -72,7 +72,7 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
.if ${ARCH} == powerpc64
CONFIGURE_ENV+= UNAME_m="powerpc64"
-USE_GCC= yes
+USE_GCC= 5 # Cannot require ourselves, needs to be at least 4.9.
.endif
.if ${ARCH} == "armv6" || ${ARCH} == "aarch64"
Modified: head/lang/gcc6/Makefile
==============================================================================
--- head/lang/gcc6/Makefile Sun Jun 4 04:17:48 2017 (r442530)
+++ head/lang/gcc6/Makefile Sun Jun 4 04:57:44 2017 (r442531)
@@ -68,7 +68,7 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
.if ${ARCH} == powerpc64
CONFIGURE_ENV+= UNAME_m="powerpc64"
-USE_GCC= yes
+USE_GCC= 5 # Cannot require ourselves, needs to be at least 4.9.
.endif
.if ${ARCH} == "armv6" || ${ARCH} == "aarch64"
More information about the svn-ports-all
mailing list