summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-06-02 02:44:13 +0300
committerAndrei Karas <akaras@inbox.ru>2020-06-02 02:44:13 +0300
commit311dc7b30e48047c8830b909ccc6caf7051361cf (patch)
tree7a7842f23fa742fa44bb5537cf6de2a91b64a615
parentfee9fb5391b3adde117825a6c9b904f050b9df67 (diff)
downloadplus-311dc7b30e48047c8830b909ccc6caf7051361cf.tar.gz
plus-311dc7b30e48047c8830b909ccc6caf7051361cf.tar.bz2
plus-311dc7b30e48047c8830b909ccc6caf7051361cf.tar.xz
plus-311dc7b30e48047c8830b909ccc6caf7051361cf.zip
Remove pedantic flag from gcc-9 and gcc-10 silent build scripts
-rwxr-xr-xtools/ci/jobs/gcc10_silent.sh2
-rwxr-xr-xtools/ci/jobs/gcc9_silent.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/ci/jobs/gcc10_silent.sh b/tools/ci/jobs/gcc10_silent.sh
index fde9dd7b5..1dd9f491f 100755
--- a/tools/ci/jobs/gcc10_silent.sh
+++ b/tools/ci/jobs/gcc10_silent.sh
@@ -14,7 +14,7 @@ export LOGFILE=gcc10.log
source ./tools/ci/scripts/init.sh
-export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
+export CXXFLAGS="$CXXFLAGS -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
-std=gnu++2a -Wformat=1 \
-Wno-attributes -fno-omit-frame-pointer"
diff --git a/tools/ci/jobs/gcc9_silent.sh b/tools/ci/jobs/gcc9_silent.sh
index 920709da9..78ece1acd 100755
--- a/tools/ci/jobs/gcc9_silent.sh
+++ b/tools/ci/jobs/gcc9_silent.sh
@@ -14,10 +14,10 @@ export LOGFILE=gcc9.log
source ./tools/ci/scripts/init.sh
-export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
+export CXXFLAGS="$CXXFLAGS -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
-std=gnu++2a -Wformat=1 \
--Wno-attributes -fno-omit-frame-pointer"
+-Wno-attributes -fno-omit-frame-pointer -Wno-unused-result"
source ./tools/ci/flags/gcc9.sh