kernel: add ccflags (#11)

make `Mixing declarations and code is a C99 extension`  disappear
This commit is contained in:
SsageParuders
2022-12-20 14:04:14 +08:00
committed by GitHub
parent 758c8eb845
commit 92a3be8af9
2 changed files with 2 additions and 0 deletions

View File

@@ -11,3 +11,4 @@ EXPECTED_HASH := 0xb0b91415
ccflags-y += -DEXPECTED_SIZE=$(EXPECTED_SIZE)
ccflags-y += -DEXPECTED_HASH=$(EXPECTED_HASH)
ccflags-y += -Wno-implicit-function-declaration -Wno-strict-prototypes -Wno-int-conversion -Wno-gcc-compat
ccflags-y += -Wno-macro-redefined -Wno-declaration-after-statement