From 8eaa9d1cddb5a0272426f71c483bd3245efb772a Mon Sep 17 00:00:00 2001 From: delphij Date: Tue, 14 Aug 2007 13:44:08 +0000 Subject: 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 --- share/mk/sys.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/mk/sys.mk') 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++ -- cgit v1.1