we need to use the compiler driver to invoke LD as LDFLAGS is in the form the compile...
authorMike Frysinger <vapier@gentoo.org>
Fri, 29 Dec 2006 23:27:22 +0000 (23:27 -0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 29 Dec 2006 23:27:22 +0000 (23:27 -0000)
Makefile

index d4cc766ddc60535b42e7dc855570b58575981fc3..580a559a4312597f51c25c0a8c722b09d8a4ede6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -273,7 +273,7 @@ MAKEFLAGS += -rR
 # Make variables (CC, etc...)
 
 AS             = $(CROSS_COMPILE)as
-LD             = $(CROSS_COMPILE)ld
+LD             = $(CROSS_COMPILE)gcc -nostdlib
 CC             = $(CROSS_COMPILE)gcc
 CPP            = $(CC) -E
 AR             = $(CROSS_COMPILE)ar