summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gccsnapshot.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-04 01:43:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-04 01:43:42 +0300
commit65bccb4fc48707a8bcccedaa57a87468ad8b7349 (patch)
tree49d7821a48bd8545afb0f917cec185798f7e034c /tools/ci/jobs/gccsnapshot.sh
parent2e82d3003315806076a53df23064ba744e491fc2 (diff)
downloadplus-65bccb4fc48707a8bcccedaa57a87468ad8b7349.tar.gz
plus-65bccb4fc48707a8bcccedaa57a87468ad8b7349.tar.bz2
plus-65bccb4fc48707a8bcccedaa57a87468ad8b7349.tar.xz
plus-65bccb4fc48707a8bcccedaa57a87468ad8b7349.zip
Add compiler flag -Wno-attributes for prevent warnings about packed attributes.
Diffstat (limited to 'tools/ci/jobs/gccsnapshot.sh')
-rwxr-xr-xtools/ci/jobs/gccsnapshot.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ci/jobs/gccsnapshot.sh b/tools/ci/jobs/gccsnapshot.sh
index 70a0ff3f0..a32b0baf1 100755
--- a/tools/ci/jobs/gccsnapshot.sh
+++ b/tools/ci/jobs/gccsnapshot.sh
@@ -14,7 +14,8 @@ aptget_install gcc-snapshot \
export CXXFLAGS="-pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
--std=gnu++1z -Wformat=1"
+-std=gnu++1z -Wformat=1 \
+-Wno-attributes"
source ./tools/ci/flags/gccsnapshot.sh