From 6941fd4eeb1dce20aba8c42fd030c2690c37b731 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 20 Dec 2019 02:26:35 +0300 Subject: Add linking with "-lm -ldl" in sanitize builds due SDL linking issue --- tools/ci/jobs/gccsnapshot_sanitize_tests.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/ci/jobs/gccsnapshot_sanitize_tests.sh') diff --git a/tools/ci/jobs/gccsnapshot_sanitize_tests.sh b/tools/ci/jobs/gccsnapshot_sanitize_tests.sh index 25e94b9a2..ffeb999b3 100755 --- a/tools/ci/jobs/gccsnapshot_sanitize_tests.sh +++ b/tools/ci/jobs/gccsnapshot_sanitize_tests.sh @@ -38,6 +38,8 @@ export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -Wstrict-aliasing=2 \ -Wno-attributes \ -Wno-deprecated-copy" +export LDFLAGS="$LDFLAGS -lm -ldl" + #source ./tools/ci/flags/${FLAGS} export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS" -- cgit v1.2.3-70-g09d2