From c7b10dc037c094599647612e50db6a0505d0fbcc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 5 Apr 2007 21:10:59 +0000 Subject: set default FLTFLAGS for a fatty stack --- Makefile | 3 ++- Makefile.flags | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5b507d9f0..c5ec1ad67 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 e4cdc459e..988d6e708 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 -- cgit v1.2.3