svn commit: r533204 - in head/lang/gcc9: . files
Gerald Pfeifer
gerald at FreeBSD.org
Mon Apr 27 21:16:16 UTC 2020
Author: gerald
Date: Mon Apr 27 21:16:15 2020
New Revision: 533204
URL: https://svnweb.freebsd.org/changeset/ports/533204
Log:
Improve upon revision 532950 by passing GCC optimization options via
MAKE_ARGS instead of trying to do this via the environment (which is
lower priority and required files/patch-Makefile.in which we can now
remove).
PR: 245511
Deleted:
head/lang/gcc9/files/patch-Makefile.in
Modified:
head/lang/gcc9/Makefile
Modified: head/lang/gcc9/Makefile
==============================================================================
--- head/lang/gcc9/Makefile Mon Apr 27 21:07:11 2020 (r533203)
+++ head/lang/gcc9/Makefile Mon Apr 27 21:16:15 2020 (r533204)
@@ -67,8 +67,7 @@ CONFIGURE_ENV+= UNAME_m="powerpc64"
. if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
CONFIGURE_ARGS+= --with-abi=elfv2
. else
-CONFIGURE_ENV+= CFLAGS_FOR_TARGET="-O0" CXXFLAGS_FOR_TARGET="-O0" BOOT_CFLAGS="-O0"
-MAKE_ENV+= CFLAGS_FOR_TARGET="-O0" CXXFLAGS_FOR_TARGET="-O0" BOOT_CFLAGS="-O0"
+MAKE_ARGS+= CFLAGS_FOR_TARGET="-O0" CXXFLAGS_FOR_TARGET="-O0" BOOT_CFLAGS="-O0"
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libgcc_config_rs6000_t-crtstuff
. endif
.endif
More information about the svn-ports-head
mailing list