From 7b08be5752bb91d495f324f97b346976d669ad90 Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 21 Aug 2009 16:33:04 +0000 Subject: Add contents of LDFLAGS in addition to CXXFLAGS git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11536 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 1a4f03330..edea764f1 100755 --- a/configure +++ b/configure @@ -1095,12 +1095,14 @@ sub getosflags { # $config{FLAGS} = "-fPIC -Woverloaded-virtual -Wshadow -Wall $config{OPTIMISATI}"; $config{FLAGS} .= " " . $ENV{CXXFLAGS} if exists($ENV{CXXFLAGS}); $config{LDLIBS} .= " " . $ENV{LDLIBS} if exists($ENV{LDLIBS}); + $config{LDLIBS} .= " " . $ENV{LDFLAGS} if exists($ENV{LDFLAGS}); $config{MAKEPROG} = "make"; } if ($config{OSNAME} =~ /FreeBSD/i) { $config{FLAGS} .= " " . $ENV{CXXFLAGS} if exists($ENV{CXXFLAGS}); $config{LDLIBS} .= " " . $ENV{LDLIBS} if exists($ENV{LDLIBS}); + $config{LDLIBS} .= " " . $ENV{LDFLAGS} if exists($ENV{LDFLAGS}); } if ($config{OSNAME} =~ /SunOS/i or $config{OSNAME} =~ /solaris/i) -- cgit v1.2.3