aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-12-29 23:27:22 +0000
committerMike Frysinger <vapier@gentoo.org>2006-12-29 23:27:22 +0000
commitd9e4ddc38b38b7cf6cc7bdd9dcf6794f8aad8d2e (patch)
treec9760f34bfa28a752b5b42710d98d39a45d6f3e2 /Makefile
parentc1a339983fa9a2af2971f5c340bd33e7a6930384 (diff)
downloadbusybox-d9e4ddc38b38b7cf6cc7bdd9dcf6794f8aad8d2e.tar.gz
we need to use the compiler driver to invoke LD as LDFLAGS is in the form the compiler driver understands, not the form the linker itself understands, so trying to invoke ld directly and passing it LDFLAGS while invoking the compiler driver in other places and passing it LDFLAGS does not work
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4cc766dd..580a559a4 100644
--- 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