PR ports/121363 (& ports/73797) has been committed, so we can now go back

to JB's revision 1.96 change to remove -fno-strict-aliasing from CFLAGS.

This makes the default CFLAGS to match the simple defaults that the
tinderboxes use.  By using -fno-strict-aliasing by default we are
choosing to ignore problems in code which had the potential to
shoot ourselves in the foot.
This commit is contained in:
David E. O'Brien 2008-04-02 17:24:22 +00:00
parent 8a4cd00ae3
commit 20c46652dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=177865

View File

@ -36,9 +36,9 @@ CFLAGS ?= -O
.else
CC ?= cc
.if ${MACHINE_ARCH} == "arm"
CFLAGS ?= -O -fno-strict-aliasing -pipe
CFLAGS ?= -O -pipe
.else
CFLAGS ?= -O2 -fno-strict-aliasing -pipe
CFLAGS ?= -O2 -pipe
.endif
.if defined(NO_STRICT_ALIASING)
CFLAGS += -fno-strict-aliasing