[Skiboot] [PATCH v2 03/52] pflash: Increase stack frame size warning threshold

Andrew Jeffery andrew at aj.id.au
Thu Feb 21 17:28:02 AEDT 2019


pflash is a userspace tool, stack space isn't really a constraint that
we care about.

Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
 external/pflash/rules.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/external/pflash/rules.mk b/external/pflash/rules.mk
index 5839fec64aad..ffc32424167e 100644
--- a/external/pflash/rules.mk
+++ b/external/pflash/rules.mk
@@ -50,6 +50,7 @@ $(LIBFLASH_OBJS): libflash-%.o : libflash/%.c | links
 $(CCAN_OBJS): ccan-list-%.o: ccan/list/%.c | links
 	$(Q_CC)$(CC) $(CFLAGS) -c $< -o $@
 
+$(EXE): CFLAGS += -Wframe-larger-than=2048
 $(EXE): $(OBJS)
 	$(Q_CC)$(CC) $(LDFLAGS) $(CFLAGS) $^ -lrt -o $@
 
-- 
2.19.1



More information about the Skiboot mailing list