aboutsummaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-19 15:58:02 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-19 15:58:02 +0000
commit5b5bcf24f5293f7f3db0aca9af98777a5aff6be2 (patch)
tree88d6cf678bcb1f56e3aba070df52091d733eb122 /Makefile.flags
parent31789a81d5751acaaf373e8ede2932208161f869 (diff)
downloadbusybox-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.flags9
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
5BB_VER = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) 5BB_VER = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
6SKIP_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
8CPPFLAGS += $(call cc-option,-std=gnu99,) 9CPPFLAGS += $(call cc-option,-std=gnu99,)
@@ -69,6 +70,12 @@ endif
69 70
70#LDFLAGS += -nostdlib 71#LDFLAGS += -nostdlib
71 72
73LDFLAGS_ELF2FLT = -Wl,-elf2flt
74ifneq (,$(findstring $(LDFLAGS_ELF2FLT),$(LDFLAGS)))
75SKIP_STRIP = y
76endif
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 ...
74FLTFLAGS += -s 20000 81FLTFLAGS += -s 20000