kernel: add ccflags (#11)
make `Mixing declarations and code is a C99 extension` disappear
This commit is contained in:
@@ -11,3 +11,4 @@ EXPECTED_HASH := 0xb0b91415
|
|||||||
ccflags-y += -DEXPECTED_SIZE=$(EXPECTED_SIZE)
|
ccflags-y += -DEXPECTED_SIZE=$(EXPECTED_SIZE)
|
||||||
ccflags-y += -DEXPECTED_HASH=$(EXPECTED_HASH)
|
ccflags-y += -DEXPECTED_HASH=$(EXPECTED_HASH)
|
||||||
ccflags-y += -Wno-implicit-function-declaration -Wno-strict-prototypes -Wno-int-conversion -Wno-gcc-compat
|
ccflags-y += -Wno-implicit-function-declaration -Wno-strict-prototypes -Wno-int-conversion -Wno-gcc-compat
|
||||||
|
ccflags-y += -Wno-macro-redefined -Wno-declaration-after-statement
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
obj-y += selinux.o
|
obj-y += selinux.o
|
||||||
|
|
||||||
ccflags-y += -Wno-implicit-function-declaration -Wno-strict-prototypes -Wno-int-conversion
|
ccflags-y += -Wno-implicit-function-declaration -Wno-strict-prototypes -Wno-int-conversion
|
||||||
|
ccflags-y += -Wno-macro-redefined -Wno-declaration-after-statement
|
||||||
Reference in New Issue
Block a user