mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
Set CSTD in all cases except when CC=icc and NO_WARNS is set. This
way we can set desired C standard even for cross tools etc. Tested by: make universe Approved by: ed (maintainer) OK by: das
This commit is contained in:
parent
c0d232d988
commit
9448b439ec
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
|||
# the default is gnu99 for now
|
||||
CSTD ?= gnu99
|
||||
|
||||
.if !defined(NO_WARNS) && ${CC} != "icc"
|
||||
.if !defined(NO_WARNS) || ${CC} != "icc"
|
||||
. if ${CSTD} == "k&r"
|
||||
CFLAGS += -traditional
|
||||
. elif ${CSTD} == "c89" || ${CSTD} == "c90"
|
||||
|
|
|
|||
Loading…
Reference in a new issue