svn commit: r408641 - head/lang/gcc6-aux
John Marino
marino at FreeBSD.org
Wed Feb 10 18:26:29 UTC 2016
Author: marino
Date: Wed Feb 10 18:26:28 2016
New Revision: 408641
URL: https://svnweb.freebsd.org/changeset/ports/408641
Log:
lang/gcc6-aux: Neutralize CPUTYPE settings
It's been reported that gcc6-aux fails to build when CPUTYPE is set to
haswell and it's not alone. Remove any -march cflags which should
effectively negate the CPUTYPE setting. We can't change CPUTYPE directly
because it is included before the port makefile is.
Modified:
head/lang/gcc6-aux/Makefile.common
Modified: head/lang/gcc6-aux/Makefile.common
==============================================================================
--- head/lang/gcc6-aux/Makefile.common Wed Feb 10 17:37:52 2016 (r408640)
+++ head/lang/gcc6-aux/Makefile.common Wed Feb 10 18:26:28 2016 (r408641)
@@ -12,3 +12,4 @@ GNU_CONFIGURE= yes
USES= gmake libtool perl5 tar:bzip2
USE_PERL5= build
ALL_TARGET= default
+CFLAGS:= ${CFLAGS:N-march=*}
More information about the svn-ports-all
mailing list