Emblish rev 1.180 to -fno-strict-alias w/-Os & -O3 also.

This commit is contained in:
David E. O'Brien 2005-02-09 07:34:22 +00:00
parent 887a166c34
commit db0cd7e103

View File

@ -70,8 +70,10 @@ OBJCOPY?= objcopy
.if ${CC} == "icc"
CFLAGS:= ${CFLAGS:C/(-x[^M^K^W]+)[MKW]+|-x[MKW]+/\1/}
.else
. if ${CFLAGS:M-O[23s]} != ""
CFLAGS+= -fno-strict-aliasing
. endif
WERROR?= -Werror
CFLAGS:= ${CFLAGS:C/-O2/-O2 -fno-strict-aliasing/}
.endif
CFLAGS+= ${WERROR}
CFLAGS+= -D_KERNEL