Switch arm to -O until the -O2 issues are resolved.

MFC After:	3 days
This commit is contained in:
Olivier Houchard 2007-11-05 23:08:34 +00:00
parent 232a80f675
commit cdc162fe0e

View file

@ -35,8 +35,12 @@ CC ?= c89
CFLAGS ?= -O
.else
CC ?= cc
.if ${MACHINE_ARCH} == "arm"
CFLAGS ?= -O -fno-strict-aliasing -pipe
.else
CFLAGS ?= -O2 -fno-strict-aliasing -pipe
.endif
.endif
CXX ?= c++
CXXFLAGS ?= ${CFLAGS:N-std=*:N-Wnested-externs:N-W*-prototypes}