diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-12-20 02:26:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-12-20 02:26:35 +0300 |
commit | 6941fd4eeb1dce20aba8c42fd030c2690c37b731 (patch) | |
tree | f12f6f2c591998aa725e88352a82a54193fe0a03 /tools/ci/jobs/gcc5_sanitize.sh | |
parent | e22b2566130eadc148c7aa89ee3cb429b22f1dfb (diff) | |
download | manaverse-6941fd4eeb1dce20aba8c42fd030c2690c37b731.tar.gz manaverse-6941fd4eeb1dce20aba8c42fd030c2690c37b731.tar.bz2 manaverse-6941fd4eeb1dce20aba8c42fd030c2690c37b731.tar.xz manaverse-6941fd4eeb1dce20aba8c42fd030c2690c37b731.zip |
Add linking with "-lm -ldl" in sanitize builds due SDL linking issue
Diffstat (limited to 'tools/ci/jobs/gcc5_sanitize.sh')
-rwxr-xr-x | tools/ci/jobs/gcc5_sanitize.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ci/jobs/gcc5_sanitize.sh b/tools/ci/jobs/gcc5_sanitize.sh index cc8b0f9ae..a51ebcb76 100755 --- a/tools/ci/jobs/gcc5_sanitize.sh +++ b/tools/ci/jobs/gcc5_sanitize.sh @@ -58,6 +58,8 @@ export CXXFLAGS="$CXXFLAGS -ggdb3 -O2 -pipe -ffast-math \ -Wreturn-type -Wsequence-point -Wswitch \ -Wno-attributes $POST_CXXFLAGS" +export LDFLAGS="$LDFLAGS -lm -ldl" + do_init run_configure --enable-werror $* run_make |