From 4e7b64f4c034e1d11b8ada8f2ba7f48dcb2fa8d8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 5 May 2018 20:30:21 +0300 Subject: Switch build script to gcc-8. Add gcc-8 build flags file. --- build/bmake | 4 ++-- build/bmakedebug | 4 ++-- build/bmakedebugsdl2 | 4 ++-- build/bmakemem | 4 ++-- build/bmakespeed | 4 ++-- build/bmakestl | 4 ++-- build/bmaketest | 4 ++-- build/bmaketestsimd | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) (limited to 'build') diff --git a/build/bmake b/build/bmake index 1d9a28d29..b444754eb 100755 --- a/build/bmake +++ b/build/bmake @@ -13,10 +13,10 @@ export LANG=C export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ -D_FORTIFY_SOURCE=2 \ --std=gnu++1z \ +-std=gnu++2a \ -fno-var-tracking -Wno-attributes" -source ./tools/ci/flags/gcc7.sh +source ./tools/ci/flags/gcc8.sh export CXXFLAGS="$CXXFLAGS -Wno-null-dereference" diff --git a/build/bmakedebug b/build/bmakedebug index 00f816753..d2e3f6a02 100755 --- a/build/bmakedebug +++ b/build/bmakedebug @@ -20,10 +20,10 @@ export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ -fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow \ -fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool \ -fsanitize=enum -fsanitize=vptr -fsanitize=bounds-strict \ --std=gnu++1z \ +-std=gnu++2a \ -fno-var-tracking -Wno-attributes" -source ./tools/ci/flags/gcc7.sh +source ./tools/ci/flags/gcc8.sh autoreconf -i cd build/tmp diff --git a/build/bmakedebugsdl2 b/build/bmakedebugsdl2 index e904d2f8e..e3b5a83ab 100755 --- a/build/bmakedebugsdl2 +++ b/build/bmakedebugsdl2 @@ -20,10 +20,10 @@ export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ -fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow \ -fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool \ -fsanitize=enum -fsanitize=vptr \ --std=gnu++1z \ +-std=gnu++2a \ -fno-var-tracking -Wno-attributes" -source ./tools/ci/flags/gcc7.sh +source ./tools/ci/flags/gcc8.sh autoreconf -i cd build/tmp diff --git a/build/bmakemem b/build/bmakemem index c86bd73d1..f23471eb4 100755 --- a/build/bmakemem +++ b/build/bmakemem @@ -13,10 +13,10 @@ export LANG=C export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ -D_FORTIFY_SOURCE=2 \ --std=gnu++1z \ +-std=gnu++2a \ -fno-var-tracking -Wno-attributes" -source ./tools/ci/flags/gcc7.sh +source ./tools/ci/flags/gcc8.sh export CXXFLAGS="$CXXFLAGS -Wno-null-dereference" diff --git a/build/bmakespeed b/build/bmakespeed index dd93fa045..bb2f153ff 100755 --- a/build/bmakespeed +++ b/build/bmakespeed @@ -15,10 +15,10 @@ export CXXFLAGS="-pedantic -ggdb3 -O5 -pipe -ffast-math \ -D_FORTIFY_SOURCE=2 \ -funsafe-loop-optimizations -flto -fwhole-program \ -march=native -fsched-pressure \ --std=gnu++1z \ +-std=gnu++2a \ -fno-var-tracking -Wno-attributes" -source ./tools/ci/flags/gcc7.sh +source ./tools/ci/flags/gcc8.sh autoreconf -i cd build/tmp diff --git a/build/bmakestl b/build/bmakestl index 7ca4b8a5e..a8eebb844 100755 --- a/build/bmakestl +++ b/build/bmakestl @@ -13,10 +13,10 @@ export LANG=C export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ -D_FORTIFY_SOURCE=2 \ --std=gnu++1z \ +-std=gnu++2a \ -fno-var-tracking -Wno-attributes" -source ./tools/ci/flags/gcc7.sh +source ./tools/ci/flags/gcc8.sh export CXXFLAGS="$CXXFLAGS -Wno-null-dereference" diff --git a/build/bmaketest b/build/bmaketest index a0712db15..1d5328f40 100755 --- a/build/bmaketest +++ b/build/bmaketest @@ -11,10 +11,10 @@ export LANG=C export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \ -D_FORTIFY_SOURCE=2 \ --std=gnu++1z \ +-std=gnu++2a \ -fno-var-tracking -Wno-attributes" -source ./tools/ci/flags/gcc7.sh +source ./tools/ci/flags/gcc8.sh autoreconf -i ./configure --prefix=$dir/run \ diff --git a/build/bmaketestsimd b/build/bmaketestsimd index bdf458420..3747bff57 100755 --- a/build/bmaketestsimd +++ b/build/bmaketestsimd @@ -14,10 +14,10 @@ export CXXFLAGS="-pedantic -ggdb3 -O5 -pipe -Wstrict-aliasing=2 \ -ffast-math -funswitch-loops -flto -fwhole-program \ -funsafe-loop-optimizations \ -march=native -fsched-pressure --std=gnu++1z -Wformat=1 \ +-std=gnu++2a -Wformat=1 \ -fno-var-tracking -Wno-attributes" -source ./tools/ci/flags/gcc7.sh +source ./tools/ci/flags/gcc8.sh autoreconf -i ./configure --prefix=$dir/run \ -- cgit v1.2.3-70-g09d2