]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
* Patch by Martin Krause, 11 Sep 2003:
[karo-tx-uboot.git] / Makefile
index f634880054aba2e9e9e7f62fd2a0b81afa594e3c..6285d9ea3e5a9056a77afef86d89a34263f91ec0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -117,6 +117,8 @@ LIBS += drivers/sk98lin/libsk98lin.a
 LIBS += post/libpost.a post/cpu/libcpu.a
 LIBS += common/libcommon.a
 LIBS += lib_generic/libgeneric.a
+# Add GCC lib
+PLATFORM_LIBS += -L $(shell dirname `$(CC) -print-libgcc-file-name`) -lgcc
 
 #########################################################################
 #########################################################################