mirror of
https://github.com/opnsense/src.git
synced 2026-03-01 12:51:07 -05:00
Turn -Werror back on for amd64 for kernel builds.
Approved by: re (rwatson)
This commit is contained in:
parent
4085424709
commit
61ba2e0a14
1 changed files with 2 additions and 0 deletions
|
|
@ -90,8 +90,10 @@ CFLAGS+= ${INCLUDES} -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.
|
|||
CFLAGS+= -fno-common -finline-limit=${INLINE_LIMIT}
|
||||
CFLAGS+= --param inline-unit-growth=100
|
||||
CFLAGS+= --param large-function-growth=1000
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
WERROR?= -Werror
|
||||
.endif
|
||||
.endif
|
||||
|
||||
# XXX LOCORE means "don't declare C stuff" not "for locore.s".
|
||||
ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS}
|
||||
|
|
|
|||
Loading…
Reference in a new issue