]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - examples/standalone/Makefile
Examples: Properly append LDFLAGS to LD command
[karo-tx-uboot.git] / examples / standalone / Makefile
index e23865b4b020ba0781335cf81c82ae2168630702..baaa2fbe4def0c7c9707603293a75287daf6d182 100644 (file)
@@ -96,7 +96,7 @@ $(LIB):       $(obj).depend $(LIBOBJS)
 
 $(ELF):
 $(obj)%:       $(obj)%.o $(LIB)
-               $(LD) -g -Ttext $(CONFIG_STANDALONE_LOAD_ADDR) \
+               $(LD) $(LDFLAGS) -g -Ttext $(CONFIG_STANDALONE_LOAD_ADDR) \
                        -o $@ -e $(SYM_PREFIX)$(notdir $(<:.o=)) $< $(LIB) \
                        -L$(gcclibdir) -lgcc