aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-12-29 23:27:22 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-12-29 23:27:22 +0000
commit5a100564cade70e3b9c025259986f8ef4ff121f9 (patch)
treec9760f34bfa28a752b5b42710d98d39a45d6f3e2
parent06af9a926eae879789be3dd5414ffff7afc0da4c (diff)
downloadbusybox-w32-5a100564cade70e3b9c025259986f8ef4ff121f9.tar.gz
busybox-w32-5a100564cade70e3b9c025259986f8ef4ff121f9.tar.bz2
busybox-w32-5a100564cade70e3b9c025259986f8ef4ff121f9.zip
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
git-svn-id: svn://busybox.net/trunk/busybox@17103 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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
273# Make variables (CC, etc...) 273# Make variables (CC, etc...)
274 274
275AS = $(CROSS_COMPILE)as 275AS = $(CROSS_COMPILE)as
276LD = $(CROSS_COMPILE)ld 276LD = $(CROSS_COMPILE)gcc -nostdlib
277CC = $(CROSS_COMPILE)gcc 277CC = $(CROSS_COMPILE)gcc
278CPP = $(CC) -E 278CPP = $(CC) -E
279AR = $(CROSS_COMPILE)ar 279AR = $(CROSS_COMPILE)ar