diff options
author | Josh Stone <jistone@redhat.com> | 2009-10-14 13:30:44 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-10-21 09:08:07 -0700 |
commit | 730c3efceb4fcbb234a0fcdb0c0d299b8670fec6 (patch) | |
tree | 1529ac65b01bd24fe0366117ac3109fc041ea12f | |
parent | 8f805d3329e985f0ea0851fa1522ab447765af27 (diff) | |
download | systemtap-steved-730c3efceb4fcbb234a0fcdb0c0d299b8670fec6.tar.gz systemtap-steved-730c3efceb4fcbb234a0fcdb0c0d299b8670fec6.tar.xz systemtap-steved-730c3efceb4fcbb234a0fcdb0c0d299b8670fec6.zip |
PR10750 cont'd: Build with -Wframe-larger-than=512
* buildrun.cxx (compile_pass): Add the warning to limit the frame size
even lower than the Kbuild default (only works for gcc 4.4+).
-rw-r--r-- | buildrun.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildrun.cxx b/buildrun.cxx index c5c44f13..bbf678ac 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -201,6 +201,9 @@ compile_pass (systemtap_session& s) // o << "CFLAGS += -fno-unit-at-a-time" << endl; + // 512 bytes should be enough for anybody + o << "EXTRA_CFLAGS += $(call cc-option,-Wframe-larger-than=512)" << endl; + // Assumes linux 2.6 kbuild o << "EXTRA_CFLAGS += -Wno-unused -Werror" << endl; #if CHECK_POINTER_ARITH_PR5947 |