summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-12-23 01:39:18 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-12-23 01:39:18 +0000
commitdcf18bc770e9791f1ac527c5796ef8f28e35d2d7 (patch)
tree4aa7273df53e56c2a62b04efc52b5e2f2fad9ee7
parente159cc97da03ff14c1e39dd8bd05d88d56a3f062 (diff)
downloadfreebsd-ports-dcf18bc770e9791f1ac527c5796ef8f28e35d2d7.zip
devel/asis: must build without -fno-strict-aliasing
ASIS is build using the GCC that comes from the GNAT port, which is a 2.8.1-based compiler that neither supports nor needs -fno-strict-aliasing, which is now present in the system default CFLAGS value. To allow this port to build on a recent -CURRENT, this CFLAGS setting thus needs to be overridden by the port's Makefile. PR: ports/75376 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
-rw-r--r--devel/asis-gpl/Makefile1
-rw-r--r--devel/asis/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/devel/asis-gpl/Makefile b/devel/asis-gpl/Makefile
index 052581b1c021..5f8a1cc5bd12 100644
--- a/devel/asis-gpl/Makefile
+++ b/devel/asis-gpl/Makefile
@@ -25,6 +25,7 @@ BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
.if ${OSVERSION} >= 500039
WITHOUT_CPU_CFLAGS= yes
.endif
+CFLAGS= -O2 -pipe
USE_GMAKE= yes
MAKEFILE= "${FILESDIR}/Makefile.bsd"
MAKE_ARGS= GMAKE=${GMAKE} PORTVERSION=${PORTVERSION} \
diff --git a/devel/asis/Makefile b/devel/asis/Makefile
index 052581b1c021..5f8a1cc5bd12 100644
--- a/devel/asis/Makefile
+++ b/devel/asis/Makefile
@@ -25,6 +25,7 @@ BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
.if ${OSVERSION} >= 500039
WITHOUT_CPU_CFLAGS= yes
.endif
+CFLAGS= -O2 -pipe
USE_GMAKE= yes
MAKEFILE= "${FILESDIR}/Makefile.bsd"
MAKE_ARGS= GMAKE=${GMAKE} PORTVERSION=${PORTVERSION} \