]> granicus.if.org Git - zfs/commit
Add configure check for -Wframe-larger-than=<size>
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 29 Jun 2010 23:26:58 +0000 (16:26 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 29 Jun 2010 23:53:02 +0000 (16:53 -0700)
commit6f1eda0629c06c80487ddc6e476c8613bdfd2ddc
treebc23a95278a69d788b79a13512e73078abb87c5f
parent91f416b49719557e9d0d00d7d48b06fa47c61645
Add configure check for -Wframe-larger-than=<size>

It turns out the gcc option -Wframe-larger-than=<size> which I recently
added to the build system is not supported in older versions of gcc.
Since this is just a flag to ensure I keep stack usage under control
I've added a configure check to detect if gcc supports it.  If it's
available we use it in the proper places, if it's not we don't.
cmd/ztest/Makefile.am
config/user-frame-larger-than.m4 [new file with mode: 0644]
config/user.m4
lib/libzpool/Makefile.am