]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/nios2/config.mk
Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS
[karo-tx-uboot.git] / arch / nios2 / config.mk
index aba96b30199346c03749f7f0e2523accd0af7986..fa93180f301ac333448a435d5805d7ad7a97f16d 100644 (file)
@@ -31,5 +31,5 @@ PLATFORM_CPPFLAGS += -G0
 
 LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds
 
-LDFLAGS += --gc-sections
+LDFLAGS_u-boot += --gc-sections
 PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections