summaryrefslogtreecommitdiff
path: root/build/bmakesnapshot
diff options
context:
space:
mode:
Diffstat (limited to 'build/bmakesnapshot')
-rwxr-xr-xbuild/bmakesnapshot5
1 files changed, 4 insertions, 1 deletions
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 \