summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gcc6_sanitize.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/jobs/gcc6_sanitize.sh')
-rwxr-xr-xtools/ci/jobs/gcc6_sanitize.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ci/jobs/gcc6_sanitize.sh b/tools/ci/jobs/gcc6_sanitize.sh
index a0f02ed7d..c225ef2be 100755
--- a/tools/ci/jobs/gcc6_sanitize.sh
+++ b/tools/ci/jobs/gcc6_sanitize.sh
@@ -27,6 +27,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/gcc6.sh
export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS"