]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/nios2/config.mk
Introduce a new linker flag LDFLAGS_FINAL
[people/ms/u-boot.git] / arch / nios2 / config.mk
index fa93180f301ac333448a435d5805d7ad7a97f16d..d241a96e8e81024f9e8641af5c3a97c26c8016d5 100644 (file)
@@ -31,5 +31,5 @@ PLATFORM_CPPFLAGS += -G0
 
 LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds
 
-LDFLAGS_u-boot += --gc-sections
+LDFLAGS_FINAL += --gc-sections
 PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections