aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2019-02-21 16:58:02 +1030
committerStewart Smith <stewart@linux.ibm.com>2019-02-21 22:58:46 -0600
commita7e1efe864ad3c1b0582b06e50e7283cee66e2aa (patch)
tree6995d0ef90b1a20395aa1bc74992769ea5571a25 /external
parent3852a9460abcb6f38f2c0af97d17b168ee1629f1 (diff)
downloadskiboot-a7e1efe864ad3c1b0582b06e50e7283cee66e2aa.zip
skiboot-a7e1efe864ad3c1b0582b06e50e7283cee66e2aa.tar.gz
skiboot-a7e1efe864ad3c1b0582b06e50e7283cee66e2aa.tar.bz2
pflash: Increase stack frame size warning threshold
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> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'external')
-rw-r--r--external/pflash/rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/pflash/rules.mk b/external/pflash/rules.mk
index 5839fec..ffc3242 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 $@