summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-23 19:58:11 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-23 19:58:11 +0300
commit365e453ccd97474b963c61c6bb04731bd2326435 (patch)
tree1d40dd58dc6ba68715c63a6f7cb29d51aa0721a5
parent073488b218d321cc187ea4e9a8a7c16c110946df (diff)
downloadplus-365e453ccd97474b963c61c6bb04731bd2326435.tar.gz
plus-365e453ccd97474b963c61c6bb04731bd2326435.tar.bz2
plus-365e453ccd97474b963c61c6bb04731bd2326435.tar.xz
plus-365e453ccd97474b963c61c6bb04731bd2326435.zip
Add flag -Wno-null-dereference into lto builds.
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4b3e3d082..2ce4f9e4c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -174,6 +174,7 @@ gcc-7_lto:
libxml2-dev libcurl4-gnutls-dev libpng-dev
libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
git gdb valgrind netcat-openbsd procps
+ POST_CXXFLAGS: "-Wno-null-dereference"
gcc-7_lto_i386:
stage: build
@@ -188,6 +189,7 @@ gcc-7_lto_i386:
libxml2-dev libcurl4-gnutls-dev libpng-dev
libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
git gdb valgrind netcat-openbsd procps
+ POST_CXXFLAGS: "-Wno-null-dereference"
tags:
- docker