summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-21 16:33:04 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-21 16:33:04 +0000
commit7b08be5752bb91d495f324f97b346976d669ad90 (patch)
treec120772040b4ef155abeada98a9348d31debd3f3 /configure
parentd1937540f4e81c9915c90dc3ea488de042e59245 (diff)
Add contents of LDFLAGS in addition to CXXFLAGS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11536 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
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)