diff options
author | delphij <delphij@FreeBSD.org> | 2007-08-14 13:44:08 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2007-08-14 13:44:08 +0000 |
commit | 8eaa9d1cddb5a0272426f71c483bd3245efb772a (patch) | |
tree | 1639f112e0fc7b48c2813bedc34945c69055c64a /share | |
parent | e2c3cc81d7b61b33dac7f34a4b2b8f142f1769c5 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | share/mk/sys.mk | 2 |
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++ |