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:
parent
8a4cd00ae3
commit
20c46652dc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user