summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2007-11-26 21:46:21 +0000
committerjb <jb@FreeBSD.org>2007-11-26 21:46:21 +0000
commit315c303950548e58ba5c64e6d3f6de2e88e4da33 (patch)
tree4f8c3dbbd22f6c5136596ea84a51ab04865435a8 /share/mk
parenta27faca2224439d7c887011acb967b62f98bd8c5 (diff)
downloadFreeBSD-src-315c303950548e58ba5c64e6d3f6de2e88e4da33.zip
FreeBSD-src-315c303950548e58ba5c64e6d3f6de2e88e4da33.tar.gz
Although the entire src tree builds cleanly now without -fno-strict-aliasing
in the default CFLAGS, we're in the middle of a ports freeze, so we can't really go making the corresponding change to the ports mk files. I'll take -fno-strict-aliasing out again when the ports freeze ends.
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/sys.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index a15331f..44578e4 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -36,9 +36,9 @@ CFLAGS ?= -O
.else
CC ?= cc
.if ${MACHINE_ARCH} == "arm"
-CFLAGS ?= -O -pipe
+CFLAGS ?= -O -fno-strict-aliasing -pipe
.else
-CFLAGS ?= -O2 -pipe
+CFLAGS ?= -O2 -fno-strict-aliasing -pipe
.endif
.if defined(NO_STRICT_ALIASING)
CFLAGS += -fno-strict-aliasing
OpenPOWER on IntegriCloud