From d9c0a036a5d480c615d866bf98893906b1e7efab Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Jan 2012 01:37:23 +0300 Subject: Add more flags to snapshot make script. --- build/bmakesnapshot | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build') diff --git a/build/bmakesnapshot b/build/bmakesnapshot index 4736fb8a5..b701ed97a 100755 --- a/build/bmakesnapshot +++ b/build/bmakesnapshot @@ -28,7 +28,10 @@ export CXXFLAGS="-Wvariadic-macros -Wvla -Wredundant-decls \ -Wendif-labels -Wformat=1 -Wimport -Wnon-virtual-dtor -Wpsabi \ -Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -Wc++11-compat -std=c++0x \ -Wdelete-non-virtual-dtor -Wmaybe-uninitialized -Wunused-local-typedefs \ --Wvector-operation-performance" +-Wvector-operation-performance -Wfree-nonheap-object \ +-Wfunction-elimination -Winvalid-memory-model -Wmaybe-uninitialized \ +-Wnarrowing -Wunused-local-typedefs -Wvector-operation-performance \ +-Wzero-as-null-pointer-constant" autoreconf -i ./configure --prefix=$dir/run \ -- cgit v1.2.3-60-g2f50