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 d4cc766..580a559 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