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.
This commit is contained in:
John Birrell 2007-11-26 21:46:21 +00:00
parent 8ec770db87
commit 221a97c194
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173959

View File

@ -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