diff options
author | obrien <obrien@FreeBSD.org> | 2008-04-02 17:24:22 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2008-04-02 17:24:22 +0000 |
commit | feb87952a57f943311b9fa0db95ecff989b848cc (patch) | |
tree | dae0e156f424ccf9345587e99e91b4513c748b74 /share | |
parent | a8d57d03bd84bffb2e23e808a5da49c5b6f8bee0 (diff) | |
download | FreeBSD-src-feb87952a57f943311b9fa0db95ecff989b848cc.zip FreeBSD-src-feb87952a57f943311b9fa0db95ecff989b848cc.tar.gz |
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.
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/sys.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 44578e4..a15331f 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 -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 |