diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-18 20:31:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-18 20:31:54 +0300 |
commit | 5b293feb5367ccabd3edf49783511c895807876b (patch) | |
tree | 82a1ad55fba69e4632bebc211d37d91e840cb0d2 /build | |
parent | 2dc350899693ba27c2df04913e356e7115d678b3 (diff) | |
download | plus-5b293feb5367ccabd3edf49783511c895807876b.tar.gz plus-5b293feb5367ccabd3edf49783511c895807876b.tar.bz2 plus-5b293feb5367ccabd3edf49783511c895807876b.tar.xz plus-5b293feb5367ccabd3edf49783511c895807876b.zip |
Use latest supported C++ version by gcc in make scripts (-std=gnu++1z)
Diffstat (limited to 'build')
-rwxr-xr-x | build/bmake | 2 | ||||
-rwxr-xr-x | build/bmakedebug | 2 |
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 \ |