summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthias Weisser <weisserm@arcor.de>2010-11-18 09:35:09 +0100
committerWolfgang Denk <wd@denx.de>2010-11-18 09:47:11 +0100
commit635d1b3e1b885267de90d100402ba7748fdd9bc5 (patch)
treed7e8a15906713fee8bb63796ca1dbb6233dadd66 /Makefile
parent6163f5b4c8873848ed023054bc401727301ea537 (diff)
Makefile: Fix build with USE_PRIVATE_LIBGCC
If USE_PRIVATE_LIBGCC is set the yes building fails with a missing libgcc.a As we use partial linking now it is libgcc.o now. Signed-off-by: Matthias Weisser <weisserm@arcor.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index af33f085f91..b4aae898abd 100644
--- a/Makefile
+++ b/Makefile
@@ -269,7 +269,7 @@ LIBBOARD := $(addprefix $(obj),$(LIBBOARD))
# Add GCC lib
ifdef USE_PRIVATE_LIBGCC
ifeq ("$(USE_PRIVATE_LIBGCC)", "yes")
-PLATFORM_LIBGCC = -L $(OBJTREE)/arch/$(ARCH)/lib -lgcc
+PLATFORM_LIBGCC = $(OBJTREE)/arch/$(ARCH)/lib/libgcc.o
else
PLATFORM_LIBGCC = -L $(USE_PRIVATE_LIBGCC) -lgcc
endif