summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-18 20:31:54 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-18 20:31:54 +0300
commit5b293feb5367ccabd3edf49783511c895807876b (patch)
tree82a1ad55fba69e4632bebc211d37d91e840cb0d2 /build
parent2dc350899693ba27c2df04913e356e7115d678b3 (diff)
downloadmv-5b293feb5367ccabd3edf49783511c895807876b.tar.gz
mv-5b293feb5367ccabd3edf49783511c895807876b.tar.bz2
mv-5b293feb5367ccabd3edf49783511c895807876b.tar.xz
mv-5b293feb5367ccabd3edf49783511c895807876b.zip
Use latest supported C++ version by gcc in make scripts (-std=gnu++1z)
Diffstat (limited to 'build')
-rwxr-xr-xbuild/bmake2
-rwxr-xr-xbuild/bmakedebug2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/bmake b/build/bmake
index a97f9dde4..0233974e6 100755
--- a/build/bmake
+++ b/build/bmake
@@ -27,7 +27,7 @@ export CXXFLAGS="-ggdb3 -O3 -pipe -ffast-math \
-Wwrite-strings -Wstack-protector -Wshadow -Wunused-macros -Wsynth \
-Wbuiltin-macro-redefined -Wctor-dtor-privacy -Wdeprecated \
-Wendif-labels -Wformat=1 -Wimport -Wnon-virtual-dtor -Wpsabi \
--Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -Wc++11-compat -std=c++0x \
+-Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -Wc++11-compat -std=gnu++1z \
-Wdelete-non-virtual-dtor -Wmaybe-uninitialized -Wunused-local-typedefs \
-Wvector-operation-performance -Wfree-nonheap-object -Winvalid-memory-model \
-Wnarrowing -Wzero-as-null-pointer-constant -funsafe-loop-optimizations \
diff --git a/build/bmakedebug b/build/bmakedebug
index 3f5dd3eee..ee6a0d210 100755
--- a/build/bmakedebug
+++ b/build/bmakedebug
@@ -35,7 +35,7 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
-Wwrite-strings -Wstack-protector -Wshadow -Wunused-macros -Wsynth \
-Wbuiltin-macro-redefined -Wctor-dtor-privacy -Wdeprecated \
-Wendif-labels -Wformat=1 -Wimport -Wnon-virtual-dtor -Wpsabi \
--Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -std=gnu++17 \
+-Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -std=gnu++1z \
-Wdelete-non-virtual-dtor -Wmaybe-uninitialized -Wunused-local-typedefs \
-Wvector-operation-performance -Wfree-nonheap-object -Winvalid-memory-model \
-Wnarrowing -Wzero-as-null-pointer-constant -funsafe-loop-optimizations \