summaryrefslogtreecommitdiffstats
path: root/share/mk/sys.mk
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-08-14 13:44:08 +0000
committerdelphij <delphij@FreeBSD.org>2007-08-14 13:44:08 +0000
commit8eaa9d1cddb5a0272426f71c483bd3245efb772a (patch)
tree1639f112e0fc7b48c2813bedc34945c69055c64a /share/mk/sys.mk
parente2c3cc81d7b61b33dac7f34a4b2b8f142f1769c5 (diff)
downloadFreeBSD-src-8eaa9d1cddb5a0272426f71c483bd3245efb772a.zip
FreeBSD-src-8eaa9d1cddb5a0272426f71c483bd3245efb772a.tar.gz
Restore -O2 optimization after gcc 4.2.1 import, which has
fixed the issue raised by gcc 4.2.0. Tested with: test case found in gcc bug 32500 Approved by: re (kensmith), ache, kan
Diffstat (limited to 'share/mk/sys.mk')
-rw-r--r--share/mk/sys.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 87e28dc..a78dfa0 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -35,7 +35,7 @@ CC ?= c89
CFLAGS ?= -O
.else
CC ?= cc
-CFLAGS ?= -O1 -pipe
+CFLAGS ?= -O2 -fno-strict-aliasing -pipe
.endif
CXX ?= c++
OpenPOWER on IntegriCloud