1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-09 23:57:00 +00:00

Let the linker optimize things as it thinks is best

This commit is contained in:
kimocoder 2020-07-12 01:00:31 +00:00
parent a6e3593c59
commit 8d4ac74d47

View File

@ -13,11 +13,11 @@ EXTRA_CFLAGS += -Wno-vla -g
#GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc ) #GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc )
#ifeq ($(GCC_VER_49),1) #ifeq ($(GCC_VER_49),1)
EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later #EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later
#endif #endif
EXTRA_CFLAGS += -I$(src)/include EXTRA_CFLAGS += -I$(src)/include
EXTRA_LDFLAGS += --strip-debug EXTRA_LDFLAGS += --strip-all -O3
########################## WIFI IC ############################ ########################## WIFI IC ############################
CONFIG_RTL8812A = y CONFIG_RTL8812A = y