diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-05 14:41:38 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-05 14:41:38 +0000 |
commit | af8b3274d26ae4778d51b6df411e1ebd51a33586 (patch) | |
tree | f4167015b9e922a9554b552aec6f93da02c89f9d /libsanitizer | |
parent | 59f61a38d3f54e404b0ddde3a97f238b2a4ac4e6 (diff) | |
download | gcc-af8b3274d26ae4778d51b6df411e1ebd51a33586.tar.gz |
Add -lm to link_sanitizer_common
* configure.ac (link_sanitizer_common): Add -lm.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205710 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libsanitizer')
-rw-r--r-- | libsanitizer/ChangeLog | 5 | ||||
-rwxr-xr-x | libsanitizer/configure | 2 | ||||
-rw-r--r-- | libsanitizer/configure.ac | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index 0af33d012ed..5d02ec36e28 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,3 +1,8 @@ +2013-12-05 H.J. Lu <hongjiu.lu@intel.com> + + * configure.ac (link_sanitizer_common): Add -lm. + * configure: Regenerated. + 2013-12-05 Kostya Serebryany <kcc@google.com> * All source files: Merge from upstream r196489. diff --git a/libsanitizer/configure b/libsanitizer/configure index e5c320604d3..6db2a1fc758 100755 --- a/libsanitizer/configure +++ b/libsanitizer/configure @@ -14564,7 +14564,7 @@ done # 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 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 |