mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 15:44:18 +00:00
Let the linker optimize things as it thinks is best
This commit is contained in:
parent
a6e3593c59
commit
8d4ac74d47
4
Makefile
4
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user