From: Marek Vasut Date: Tue, 6 Mar 2012 12:05:22 +0100 Subject: [U-Boot] [PATCH 1/7 RESEND] Examples: Properly append LDFLAGS to LD command In-Reply-To: <1331031928-9440-1-git-send-email-marex@denx.de> References: <1330992781-1394-1-git-send-email-marex@denx.de> <1331031928-9440-1-git-send-email-marex@denx.de> Message-ID: <1331031928-9440-2-git-send-email-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The LD command in examples/standalone/Makefile ignored platform specific LDFLAGS setup. Pass these LDFLAGS to the command. Signed-off-by: Marek Vasut Cc: Bryan Hundven Cc: Michael Schwingen --- examples/standalone/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile index e23865b..baaa2fb 100644 --- a/examples/standalone/Makefile +++ b/examples/standalone/Makefile @@ -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 -- 1.7.9