summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-05 20:30:21 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-05 23:03:46 +0300
commit4e7b64f4c034e1d11b8ada8f2ba7f48dcb2fa8d8 (patch)
treef5bd7d8c1a6e4969b11224477ab53788edcb00bf /build
parent704672e323f88c68690ae976233e7447c131c96c (diff)
downloadmv-4e7b64f4c034e1d11b8ada8f2ba7f48dcb2fa8d8.tar.gz
mv-4e7b64f4c034e1d11b8ada8f2ba7f48dcb2fa8d8.tar.bz2
mv-4e7b64f4c034e1d11b8ada8f2ba7f48dcb2fa8d8.tar.xz
mv-4e7b64f4c034e1d11b8ada8f2ba7f48dcb2fa8d8.zip
Switch build script to gcc-8.
Add gcc-8 build flags file.
Diffstat (limited to 'build')
-rwxr-xr-xbuild/bmake4
-rwxr-xr-xbuild/bmakedebug4
-rwxr-xr-xbuild/bmakedebugsdl24
-rwxr-xr-xbuild/bmakemem4
-rwxr-xr-xbuild/bmakespeed4
-rwxr-xr-xbuild/bmakestl4
-rwxr-xr-xbuild/bmaketest4
-rwxr-xr-xbuild/bmaketestsimd4
8 files changed, 16 insertions, 16 deletions
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 \