1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-26 15:14:02 +00:00

Adding Flags to fix errors like 'drv_types.h' not found

This commit is contained in:
IamCOD3X 2024-06-07 16:39:55 +05:30
parent b44d288f42
commit d40f33b617

View File

@ -1,10 +1,19 @@
EXTRA_CFLAGS += -I$(srctree)/$(src)/include
EXTRA_CFLAGS += -I$(srctree)/$(src)/hal/phydm
EXTRA_CFLAGS += -I$(srctree)/$(src)/core/crypto
EXTRA_CFLAGS += -I$(srctree)/$(src)/platform
EXTRA_CFLAGS += -I$(srctree)/$(src)/os_dep
EXTRA_CFLAGS += -I$(srctree)/$(src)/tools
EXTRA_CFLAGS += -I$(srctree)/$(src)/android
EXTRA_CFLAGS += -I$(srctree)/$(src)/core
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS) -fno-pie
EXTRA_CFLAGS += -O3
EXTRA_CFLAGS += -Wno-unused-variable
EXTRA_CFLAGS += -Wno-unused-value
EXTRA_CFLAGS += -Wno-unused-label
EXTRA_CFLAGS += -Wno-unused-parameter
#EXTRA_CFLAGS += -Wno-unused-function
EXTRA_CFLAGS += -Wno-unused-function
#EXTRA_CFLAGS += -Wno-implicit-fallthrough
EXTRA_CFLAGS += -Wno-cast-function-type
EXTRA_CFLAGS += -Wno-missing-declarations