diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-29 23:27:22 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-29 23:27:22 +0000 |
commit | 5a100564cade70e3b9c025259986f8ef4ff121f9 (patch) | |
tree | c9760f34bfa28a752b5b42710d98d39a45d6f3e2 | |
parent | 06af9a926eae879789be3dd5414ffff7afc0da4c (diff) | |
download | busybox-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -273,7 +273,7 @@ MAKEFLAGS += -rR | |||
273 | # Make variables (CC, etc...) | 273 | # Make variables (CC, etc...) |
274 | 274 | ||
275 | AS = $(CROSS_COMPILE)as | 275 | AS = $(CROSS_COMPILE)as |
276 | LD = $(CROSS_COMPILE)ld | 276 | LD = $(CROSS_COMPILE)gcc -nostdlib |
277 | CC = $(CROSS_COMPILE)gcc | 277 | CC = $(CROSS_COMPILE)gcc |
278 | CPP = $(CC) -E | 278 | CPP = $(CC) -E |
279 | AR = $(CROSS_COMPILE)ar | 279 | AR = $(CROSS_COMPILE)ar |