summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index c5c44f13..b6063e36 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -201,6 +201,11 @@ compile_pass (systemtap_session& s)
// o << "CFLAGS += -fno-unit-at-a-time" << endl;
+ // 512 bytes should be enough for anybody
+ // XXX but it's not enough for unwind_frame -- PR10821
+ // XXX temporarily bumping to 600 bytes
+ o << "EXTRA_CFLAGS += $(call cc-option,-Wframe-larger-than=600)" << endl;
+
// Assumes linux 2.6 kbuild
o << "EXTRA_CFLAGS += -Wno-unused -Werror" << endl;
#if CHECK_POINTER_ARITH_PR5947