mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Switch arm to -O until the -O2 issues are resolved.
MFC After: 3 days
This commit is contained in:
parent
232a80f675
commit
cdc162fe0e
1 changed files with 4 additions and 0 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue