Add -lm to link_sanitizer_common
* configure.ac (link_sanitizer_common): Add -lm. * configure: Regenerated. From-SVN: r205710
This commit is contained in:
parent
1c0f1f4652
commit
df9d1700f1
3 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||
|
|
2
libsanitizer/configure
vendored
2
libsanitizer/configure
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue