From 568d8c9a5cb05a595b4201198fd3c780920586dc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 5 Apr 2007 21:13:55 +0000 Subject: [PATCH] set default FLTFLAGS for a fatty stack --- Makefile | 1 + Makefile.flags | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index c9faf4a9e..89a3d2e75 100644 --- a/Makefile +++ b/Makefile @@ -317,6 +317,7 @@ export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION \ export CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS export CFLAGS CFLAGS_KERNEL CFLAGS_MODULE export AFLAGS AFLAGS_KERNEL AFLAGS_MODULE +export FLTFLAGS # When compiling out-of-tree modules, put MODVERDIR in the module # tree rather than in the kernel tree. The kernel tree might diff --git a/Makefile.flags b/Makefile.flags index 3c2cbbbfb..3728a5b8d 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -59,3 +59,6 @@ ifeq ($(CONFIG_SELINUX),y) LDLIBS += -lselinux -lsepol endif #LDFLAGS += -nostdlib + +# Busybox is a stack-fatty so make sure we increase default size +FLTFLAGS += -s 20000 -- 2.25.1