diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-06-19 15:58:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-06-19 15:58:02 +0000 |
commit | 5b5bcf24f5293f7f3db0aca9af98777a5aff6be2 (patch) | |
tree | 88d6cf678bcb1f56e3aba070df52091d733eb122 /Makefile.flags | |
parent | 31789a81d5751acaaf373e8ede2932208161f869 (diff) | |
download | busybox-w32-5b5bcf24f5293f7f3db0aca9af98777a5aff6be2.tar.gz busybox-w32-5b5bcf24f5293f7f3db0aca9af98777a5aff6be2.tar.bz2 busybox-w32-5b5bcf24f5293f7f3db0aca9af98777a5aff6be2.zip |
punt %.bflt target in favor of proper LDFLAGS=-Wl,-elf2flt handling
Diffstat (limited to 'Makefile.flags')
-rw-r--r-- | Makefile.flags | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.flags b/Makefile.flags index 322e43792..c9b713b02 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
@@ -3,6 +3,7 @@ | |||
3 | # ========================================================================== | 3 | # ========================================================================== |
4 | 4 | ||
5 | BB_VER = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) | 5 | BB_VER = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) |
6 | SKIP_STRIP = n | ||
6 | 7 | ||
7 | # -std=gnu99 needed for [U]LLONG_MAX on some systems | 8 | # -std=gnu99 needed for [U]LLONG_MAX on some systems |
8 | CPPFLAGS += $(call cc-option,-std=gnu99,) | 9 | CPPFLAGS += $(call cc-option,-std=gnu99,) |
@@ -69,6 +70,12 @@ endif | |||
69 | 70 | ||
70 | #LDFLAGS += -nostdlib | 71 | #LDFLAGS += -nostdlib |
71 | 72 | ||
73 | LDFLAGS_ELF2FLT = -Wl,-elf2flt | ||
74 | ifneq (,$(findstring $(LDFLAGS_ELF2FLT),$(LDFLAGS))) | ||
75 | SKIP_STRIP = y | ||
76 | endif | ||
77 | |||
72 | # Busybox is a stack-fatty so make sure we increase default size | 78 | # Busybox is a stack-fatty so make sure we increase default size |
73 | # (TODO: use "make stksizes" to find & fix big stack users) | 79 | # TODO: use "make stksizes" to find & fix big stack users; should |
80 | # just steal scripts/checkstack.pl from the kernel ... | ||
74 | FLTFLAGS += -s 20000 | 81 | FLTFLAGS += -s 20000 |