aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-07-20 01:55:24 +0200
committerJelmer Vernooij <jelmer@samba.org>2014-07-20 01:55:24 +0200
commitd203495723441ec129fde8ba792776b8f5691706 (patch)
tree4e2a29c2258eedc4676f9ad03e69c6339b471550 /configure
parent5f818ae134304381bc39d67ac1f251b01c4be471 (diff)
Allow LDFLAGS to be provided in the environment and consistently use $(LDFLAGS)
when linking (not partially linking).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 3ac1680d..fbb8a33e 100755
--- a/configure
+++ b/configure
@@ -212,6 +212,8 @@ if [ "$pie" = "1" ]; then
echo 'LDFLAGS_BITLBEE=-pie' >> Makefile.settings
fi
+echo LDFLAGS=$LDFLAGS >> Makefile.settings
+
echo CFLAGS=$CFLAGS $CPPFLAGS >> Makefile.settings
echo CFLAGS+=-I${srcdir} -I${srcdir}/lib -I${srcdir}/protocols -I. >> Makefile.settings