config.mak.in: Pass on LDFLAGS from configure
PATCH 1/1 config.mak.in: Pass on LDFLAGS from configure
The configure script allows you to specify flags to pass to the linker step in the LDFLAGS environment variable but this was being ignored in the Makefile. Now a make variable gets set to the value passed down from the configure script.
---
I'm sending this again because I am incompetent. Sorry.
config.mak.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
config.mak.in +1 -0
@@ -3,6 +3,7 @@ CC = @CC@ CFLAGS = @CFLAGS@ +LDFLAGS = @LDFLAGS@ AR = @AR@ TAR = @TAR@ #INSTALL = @INSTALL@ # needs install-sh or install.sh in sources
Signature · 1 line
1.5.4.3
Am 21.08.2008 um 21:38 schrieb Neil Roberts:
Quoted 14 lines
The configure script allows you to specify flags to pass to the linker step in the LDFLAGS environment variable but this was being ignored in the
Makefile. Now a make variable gets set to the value passed down from the configure script.Signed-off-by Neil Roberts <[email protected]>---
config.mak.in +0
-0@@ -3,6 +3,7 @@
Quoted 7 lines
CC = @CC@
CFLAGS = @CFLAGS@
+LDFLAGS = @LDFLAGS@
AR = @AR@
TAR = @TAR@
#INSTALL = @INSTALL@ # needs install-sh orinstall.shin sources
--
configure also uses CPPFLAGS for preprocessor options like -I/my/path, which are dropped as well. Could we fold them into CFLAGS while we're at it?
Andreas