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 )
#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
EXTRA_CFLAGS += -I$(src)/include
EXTRA_LDFLAGS += --strip-debug
EXTRA_LDFLAGS += --strip-all -O3
########################## WIFI IC ############################
CONFIG_RTL8812A = y