summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gcc7_sanitize.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-12-20 02:26:35 +0300
committerAndrei Karas <akaras@inbox.ru>2019-12-20 02:26:35 +0300
commit6941fd4eeb1dce20aba8c42fd030c2690c37b731 (patch)
treef12f6f2c591998aa725e88352a82a54193fe0a03 /tools/ci/jobs/gcc7_sanitize.sh
parente22b2566130eadc148c7aa89ee3cb429b22f1dfb (diff)
downloadmv-6941fd4eeb1dce20aba8c42fd030c2690c37b731.tar.gz
mv-6941fd4eeb1dce20aba8c42fd030c2690c37b731.tar.bz2
mv-6941fd4eeb1dce20aba8c42fd030c2690c37b731.tar.xz
mv-6941fd4eeb1dce20aba8c42fd030c2690c37b731.zip
Add linking with "-lm -ldl" in sanitize builds due SDL linking issue
Diffstat (limited to 'tools/ci/jobs/gcc7_sanitize.sh')
-rwxr-xr-xtools/ci/jobs/gcc7_sanitize.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ci/jobs/gcc7_sanitize.sh b/tools/ci/jobs/gcc7_sanitize.sh
index 79b6a80f8..89c229199 100755
--- a/tools/ci/jobs/gcc7_sanitize.sh
+++ b/tools/ci/jobs/gcc7_sanitize.sh
@@ -30,6 +30,8 @@ export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-std=gnu++1z -Wformat=1 \
-Wno-attributes -fno-omit-frame-pointer"
+export LDFLAGS="$LDFLAGS -lm -ldl"
+
source ./tools/ci/flags/gcc7.sh
export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS"