diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2014-07-20 01:55:24 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2014-07-20 01:55:24 +0200 |
commit | d203495723441ec129fde8ba792776b8f5691706 (patch) | |
tree | 4e2a29c2258eedc4676f9ad03e69c6339b471550 /configure | |
parent | 5f818ae134304381bc39d67ac1f251b01c4be471 (diff) |
Allow LDFLAGS to be provided in the environment and consistently use $(LDFLAGS)
when linking (not partially linking).
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |