summaryrefslogtreecommitdiff
path: root/libsanitizer/configure.ac
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2013-12-05 14:41:38 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2013-12-05 06:41:38 -0800
commitdf9d1700f19df79c08d3877b524140cb6eb8d64c (patch)
treef4167015b9e922a9554b552aec6f93da02c89f9d /libsanitizer/configure.ac
parent1c0f1f465265a391519a2be0b718be84beb064cd (diff)
downloadgcc-df9d1700f19df79c08d3877b524140cb6eb8d64c.tar.gz
Add -lm to link_sanitizer_common
* configure.ac (link_sanitizer_common): Add -lm. * configure: Regenerated. From-SVN: r205710
Diffstat (limited to 'libsanitizer/configure.ac')
-rw-r--r--libsanitizer/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsanitizer/configure.ac b/libsanitizer/configure.ac
index 7f9327904da..3c87984b2da 100644
--- a/libsanitizer/configure.ac
+++ b/libsanitizer/configure.ac
@@ -87,7 +87,7 @@ AM_CONDITIONAL(LSAN_SUPPORTED, [test "x$LSAN_SUPPORTED" = "xyes"])
AC_CHECK_FUNCS(clock_getres clock_gettime clock_settime)
# Common libraries that we need to link against for all sanitizer libs.
-link_sanitizer_common='-lpthread -ldl'
+link_sanitizer_common='-lpthread -ldl -lm'
# Set up the set of additional libraries that we need to link against for libasan.
link_libasan=$link_sanitizer_common