mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-15 02:16:08 +00:00
Support kernel PIC mode for compiling + fixed kernel v5.3 warnings
This commit is contained in:
parent
ce9a4551ce
commit
2293742a84
3
Makefile
3
Makefile
@ -1,4 +1,4 @@
|
|||||||
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
|
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS) -fno-pie
|
||||||
EXTRA_CFLAGS += -O1
|
EXTRA_CFLAGS += -O1
|
||||||
#EXTRA_CFLAGS += -O3
|
#EXTRA_CFLAGS += -O3
|
||||||
#EXTRA_CFLAGS += -Wall
|
#EXTRA_CFLAGS += -Wall
|
||||||
@ -17,6 +17,7 @@ EXTRA_CFLAGS += -Wno-uninitialized
|
|||||||
EXTRA_CFLAGS += -Wno-cast-function-type
|
EXTRA_CFLAGS += -Wno-cast-function-type
|
||||||
EXTRA_CFLAGS += -Wno-misleading-indentation
|
EXTRA_CFLAGS += -Wno-misleading-indentation
|
||||||
EXTRA_CFLAGS += -Wno-missing-field-initializers
|
EXTRA_CFLAGS += -Wno-missing-field-initializers
|
||||||
|
EXTRA_CFLAGS += -Wimplicit-fallthrough=0
|
||||||
EXTRA_CFLAGS += -Wno-vla -g
|
EXTRA_CFLAGS += -Wno-vla -g
|
||||||
#EXTRA_CFLAGS += -Wno-tautological-compare
|
#EXTRA_CFLAGS += -Wno-tautological-compare
|
||||||
#EXTRA_CFLAGS += -Wno-incompatible-pointer-types
|
#EXTRA_CFLAGS += -Wno-incompatible-pointer-types
|
||||||
|
Loading…
Reference in New Issue
Block a user