summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-04-02 17:24:22 +0000
committerobrien <obrien@FreeBSD.org>2008-04-02 17:24:22 +0000
commitfeb87952a57f943311b9fa0db95ecff989b848cc (patch)
treedae0e156f424ccf9345587e99e91b4513c748b74 /share
parenta8d57d03bd84bffb2e23e808a5da49c5b6f8bee0 (diff)
downloadFreeBSD-src-feb87952a57f943311b9fa0db95ecff989b848cc.zip
FreeBSD-src-feb87952a57f943311b9fa0db95ecff989b848cc.tar.gz
PR ports/121363 (& ports/73797) has been committed, so we can now go back
to JB's revision 1.96 change to remove -fno-strict-aliasing from CFLAGS. This makes the default CFLAGS to match the simple defaults that the tinderboxes use. By using -fno-strict-aliasing by default we are choosing to ignore problems in code which had the potential to shoot ourselves in the foot.
Diffstat (limited to 'share')
-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 44578e4..a15331f 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 -fno-strict-aliasing -pipe
+CFLAGS ?= -O -pipe
.else
-CFLAGS ?= -O2 -fno-strict-aliasing -pipe
+CFLAGS ?= -O2 -pipe
.endif
.if defined(NO_STRICT_ALIASING)
CFLAGS += -fno-strict-aliasing
OpenPOWER on IntegriCloud