For kernel builds, make the -Waddress-of-packed-member warning non-fatal.
The warning is informative, but often there is no real alignment problem.
This commit is contained in:
parent
e6e7c78631
commit
8177b8375e
@ -33,6 +33,9 @@ CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
|
|||||||
.if ${COMPILER_VERSION} >= 30700
|
.if ${COMPILER_VERSION} >= 30700
|
||||||
CWARNEXTRA+= -Wno-error-shift-negative-value
|
CWARNEXTRA+= -Wno-error-shift-negative-value
|
||||||
.endif
|
.endif
|
||||||
|
.if ${COMPILER_VERSION} >= 40000
|
||||||
|
CWARNEXTRA+= -Wno-error-address-of-packed-member
|
||||||
|
.endif
|
||||||
|
|
||||||
CLANG_NO_IAS= -no-integrated-as
|
CLANG_NO_IAS= -no-integrated-as
|
||||||
.if ${COMPILER_VERSION} < 30500
|
.if ${COMPILER_VERSION} < 30500
|
||||||
|
Loading…
x
Reference in New Issue
Block a user