diff options
author | Bernhard Reutner-Fischer | 2007-01-08 16:29:15 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2007-01-08 16:29:15 +0000 |
commit | c1feac6e9ff0acfbafc0abc11c09b4c1449acce8 (patch) | |
tree | 63522a4172ac4036e6742f1d4a9a276b4da15fd2 /Makefile.flags | |
parent | 681f183b9408c877e78b2fe538fd6264c0a7493d (diff) | |
download | busybox-c1feac6e9ff0acfbafc0abc11c09b4c1449acce8.zip busybox-c1feac6e9ff0acfbafc0abc11c09b4c1449acce8.tar.gz |
- 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 0261d34..7dd9dc5 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 |