summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-11 01:37:23 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-11 01:37:23 +0300
commitd9c0a036a5d480c615d866bf98893906b1e7efab (patch)
tree137928b4b72166c527f8a4e4f335a5ac3fe61462 /build
parent05c3c78e18253d2a9faaebea16ee4ff0474db446 (diff)
downloadplus-d9c0a036a5d480c615d866bf98893906b1e7efab.tar.gz
plus-d9c0a036a5d480c615d866bf98893906b1e7efab.tar.bz2
plus-d9c0a036a5d480c615d866bf98893906b1e7efab.tar.xz
plus-d9c0a036a5d480c615d866bf98893906b1e7efab.zip
Add more flags to snapshot make script.
Diffstat (limited to 'build')
-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 \