diff mbox series

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

Message ID 20190221062851.21958-4-andrew@aj.id.au
State Accepted
Headers show
Series ipmi-hiomap: Tests and fixes for event handling | expand

Commit Message

Andrew Jeffery Feb. 21, 2019, 6:28 a.m. UTC
pflash is a userspace tool, stack space isn't really a constraint that
we care about.

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

Patch

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 $@