From 00de1d4a196f43940fce5c218f44128e4407c2fe Mon Sep 17 00:00:00 2001 From: "zodiac@gmail.com" Date: Thu, 1 Apr 2010 19:16:56 +0000 Subject: [PATCH] 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 --- Makefile.am | 2 +- Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index aa1affb..8e3d86f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ AM_CPPFLAGS = AM_CFLAGS = -g -std=gnu99 -Wall -AM_LDFLAGS = -g +AM_LDFLAGS = -g -lm OBJCOPY ?= objcopy OBJDUMP ?= objdump diff --git a/Makefile.in b/Makefile.in index 9a797fd..b9f58cc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -259,7 +259,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CPPFLAGS = AM_CFLAGS = -g -std=gnu99 -Wall -AM_LDFLAGS = -g +AM_LDFLAGS = -g -lm noinst_LTLIBRARIES = libhttp.la \ liblogging.la