Use NO_WCAST_ALIGN
instead of spelling it out as -Wno-cast-align in CFLAGS
MFC after: 3 days Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
901f8af05e
commit
1020003cc6
@ -33,11 +33,13 @@ CFLAGS= -DBOOTPROG=\"gptzfsboot\" \
|
||||
-I${.CURDIR}/../btx/lib -I. \
|
||||
-I${.CURDIR}/../boot2 \
|
||||
-I${.CURDIR}/../../.. \
|
||||
-Wall -Waggregate-return -Wbad-function-cast -Wno-cast-align \
|
||||
-Wall -Waggregate-return -Wbad-function-cast \
|
||||
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
|
||||
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \
|
||||
-Winline -Wno-pointer-sign
|
||||
|
||||
NO_WCAST_ALIGN=
|
||||
|
||||
.if ${COMPILER_TYPE} == "clang" || \
|
||||
(${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} > 40201)
|
||||
CFLAGS+= -Wno-tentative-definition-incomplete-type
|
||||
|
Loading…
Reference in New Issue
Block a user