mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
arm: Use -O2 instead of -O as optimization flag
When using Clang -O is equivalent to -O2, change it -O2 to make it consistent with other platforms. Reference: https://clang.llvm.org/docs/ClangCommandLineReference.html#optimization-level Submitted by: Daniel Engberg (daniel.engberg.lists@pyret.net) Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D21021
This commit is contained in:
parent
fd6659d50b
commit
7d63f8b6df
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ CC ?= c89
|
|||
CFLAGS ?= -O
|
||||
.else
|
||||
CC ?= cc
|
||||
.if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "mips"
|
||||
.if ${MACHINE_CPUARCH} == "mips"
|
||||
CFLAGS ?= -O -pipe
|
||||
.else
|
||||
CFLAGS ?= -O2 -pipe
|
||||
|
|
|
|||
Loading…
Reference in a new issue