diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-08 16:29:15 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-08 16:29:15 +0000 |
commit | c1feac6e9ff0acfbafc0abc11c09b4c1449acce8 (patch) | |
tree | 63522a4172ac4036e6742f1d4a9a276b4da15fd2 /Makefile.flags | |
parent | 681f183b9408c877e78b2fe538fd6264c0a7493d (diff) | |
download | busybox-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.flags | 5 |
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 | ||
24 | ifeq ($(CONFIG_DEBUG),y) | 24 | ifeq ($(CONFIG_DEBUG),y) |
25 | CFLAGS += -g | 25 | CFLAGS += -g |
26 | LDFLAGS += -g | ||
27 | endif | 26 | endif |
28 | 27 | ||
28 | ifeq ($(CONFIG_STATIC),y) | ||
29 | LDFLAGS += -static | ||
30 | endif | ||
31 | LDFLAGS += -nostdlib | ||