summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--Makefile.flags3
2 files changed, 5 insertions, 1 deletions
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