summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger2007-04-05 21:10:59 +0000
committerMike Frysinger2007-04-05 21:10:59 +0000
commitc7b10dc037c094599647612e50db6a0505d0fbcc (patch)
tree250ae8a01ea72fdafa29d38523f931f46fa2af85
parent2f7b923f5c46de0840d7a683b75b6e8561461135 (diff)
downloadbusybox-c7b10dc037c094599647612e50db6a0505d0fbcc.zip
busybox-c7b10dc037c094599647612e50db6a0505d0fbcc.tar.gz
set default FLTFLAGS for a fatty stack
-rw-r--r--Makefile3
-rw-r--r--Makefile.flags3
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5b507d9..c5ec1ad 100644
--- a/Makefile
+++ b/Makefile
@@ -312,7 +312,8 @@ KERNELVERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION \
ARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC \
CPP AR NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS PERL UTS_MACHINE \
- HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS
+ HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS \
+ FLTFLAGS
export CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS
export CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
diff --git a/Makefile.flags b/Makefile.flags
index e4cdc45..988d6e7 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -68,3 +68,6 @@ LDLIBS += -ldmalloc
endif
#LDFLAGS += -nostdlib
+
+# Busybox is a stack-fatty so make sure we increase default size
+FLTFLAGS += -s 20000