From 315c303950548e58ba5c64e6d3f6de2e88e4da33 Mon Sep 17 00:00:00 2001 From: jb Date: Mon, 26 Nov 2007 21:46:21 +0000 Subject: Although the entire src tree builds cleanly now without -fno-strict-aliasing in the default CFLAGS, we're in the middle of a ports freeze, so we can't really go making the corresponding change to the ports mk files. I'll take -fno-strict-aliasing out again when the ports freeze ends. --- share/mk/sys.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/mk') diff --git a/share/mk/sys.mk b/share/mk/sys.mk index a15331f..44578e4 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 -pipe +CFLAGS ?= -O -fno-strict-aliasing -pipe .else -CFLAGS ?= -O2 -pipe +CFLAGS ?= -O2 -fno-strict-aliasing -pipe .endif .if defined(NO_STRICT_ALIASING) CFLAGS += -fno-strict-aliasing -- cgit v1.1