Add -lm to the linker flags so that we always pick up isnan(), even when

compiling with runtime libraries other than glibc.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@205 0da03de8-d603-11dd-86c2-0f8696b7b6f9
This commit is contained in:
zodiac@gmail.com 2010-04-01 19:16:56 +00:00
parent 775592791d
commit 00de1d4a19
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
AM_CPPFLAGS = AM_CPPFLAGS =
AM_CFLAGS = -g -std=gnu99 -Wall AM_CFLAGS = -g -std=gnu99 -Wall
AM_LDFLAGS = -g AM_LDFLAGS = -g -lm
OBJCOPY ?= objcopy OBJCOPY ?= objcopy
OBJDUMP ?= objdump OBJDUMP ?= objdump

View file

@ -259,7 +259,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
AM_CPPFLAGS = AM_CPPFLAGS =
AM_CFLAGS = -g -std=gnu99 -Wall AM_CFLAGS = -g -std=gnu99 -Wall
AM_LDFLAGS = -g AM_LDFLAGS = -g -lm
noinst_LTLIBRARIES = libhttp.la \ noinst_LTLIBRARIES = libhttp.la \
liblogging.la liblogging.la