aboutsummaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-08 16:29:15 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-08 16:29:15 +0000
commitc1feac6e9ff0acfbafc0abc11c09b4c1449acce8 (patch)
tree63522a4172ac4036e6742f1d4a9a276b4da15fd2 /Makefile.flags
parent681f183b9408c877e78b2fe538fd6264c0a7493d (diff)
downloadbusybox-c1feac6e9ff0acfbafc0abc11c09b4c1449acce8.tar.gz
busybox-c1feac6e9ff0acfbafc0abc11c09b4c1449acce8.tar.bz2
- 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 += \
ifeq ($(CONFIG_DEBUG),y)
CFLAGS += -g
-LDFLAGS += -g
endif
+ifeq ($(CONFIG_STATIC),y)
+LDFLAGS += -static
+endif
+LDFLAGS += -nostdlib