summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-03-04 19:00:11 +0000
committerobrien <obrien@FreeBSD.org>2008-03-04 19:00:11 +0000
commita60b2dd234cc4b623d43cbf6258d173dcded14ca (patch)
treeb020673e75431d4e161396a5d2ef36f9bddd81f9 /share/mk
parentd6dc62ac2dd54c2afece3f042641880b7b59c382 (diff)
downloadFreeBSD-src-a60b2dd234cc4b623d43cbf6258d173dcded14ca.zip
FreeBSD-src-a60b2dd234cc4b623d43cbf6258d173dcded14ca.tar.gz
Back out revision 1.97, which backed out part of revision 1.96.
Change 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/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 44578e4..fab07a0 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 ?= -Os -pipe
.else
-CFLAGS ?= -O2 -fno-strict-aliasing -pipe
+CFLAGS ?= -O2 -pipe
.endif
.if defined(NO_STRICT_ALIASING)
CFLAGS += -fno-strict-aliasing
OpenPOWER on IntegriCloud