summaryrefslogtreecommitdiff
path: root/tools/ci
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-12 21:51:14 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-12 21:51:14 +0300
commit6b868347ff595ef9e9d2881a39b6f37d8085095f (patch)
tree4b3ece843db3a5fc926a9ead9183fa7716edaf12 /tools/ci
parentaa4ebcf4adcd283b24317495655060abfb01ed55 (diff)
downloadplus-6b868347ff595ef9e9d2881a39b6f37d8085095f.tar.gz
plus-6b868347ff595ef9e9d2881a39b6f37d8085095f.tar.bz2
plus-6b868347ff595ef9e9d2881a39b6f37d8085095f.tar.xz
plus-6b868347ff595ef9e9d2881a39b6f37d8085095f.zip
Fix compilation flags for gcc-snapshot.
Diffstat (limited to 'tools/ci')
-rwxr-xr-xtools/ci/flags/gccsnapshot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh
index 738721678..0064079e4 100755
--- a/tools/ci/flags/gccsnapshot.sh
+++ b/tools/ci/flags/gccsnapshot.sh
@@ -31,7 +31,7 @@ export CXXFLAGS="${CXXFLAGS} -Warray-bounds=2"
# not for C++
#export CXXFLAGS="${CXXFLAGS} -Warray-temporaries"
#export CXXFLAGS="${CXXFLAGS} -Wassign-intercept"
-export CXXFLAGS="${CXXFLAGS} -Wattribute-alias"
+export CXXFLAGS="${CXXFLAGS} -Wattribute-alias=2"
export CXXFLAGS="${CXXFLAGS} -Wattributes"
# not for C++
#export CXXFLAGS="${CXXFLAGS} -Wbad-function-cast"