summaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-08 16:29:15 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-08 16:29:15 +0000
commitc1feac6e9ff0acfbafc0abc11c09b4c1449acce8 (patch)
tree63522a4172ac4036e6742f1d4a9a276b4da15fd2 /Makefile.flags
parent681f183b9408c877e78b2fe538fd6264c0a7493d (diff)
downloadbusybox-w32-c1feac6e9ff0acfbafc0abc11c09b4c1449acce8.tar.gz
busybox-w32-c1feac6e9ff0acfbafc0abc11c09b4c1449acce8.tar.bz2
busybox-w32-c1feac6e9ff0acfbafc0abc11c09b4c1449acce8.zip
- set LD to ld
- simplify the cmd_busybox__ a bit and pass the LDFLAGS via -Wl down to CC
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.flags b/Makefile.flags
index 0261d34df..7dd9dc5dd 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -23,6 +23,9 @@ CFLAGS += \
23 23
24ifeq ($(CONFIG_DEBUG),y) 24ifeq ($(CONFIG_DEBUG),y)
25CFLAGS += -g 25CFLAGS += -g
26LDFLAGS += -g
27endif 26endif
28 27
28ifeq ($(CONFIG_STATIC),y)
29LDFLAGS += -static
30endif
31LDFLAGS += -nostdlib