From: Lukáš Zaoral Date: Thu, 31 Mar 2022 12:06:03 +0000 (+0200) Subject: Makefile: honour LDFLAGS passed to ./configure X-Git-Tag: v12.6.0~4^2~1^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28c490333f9cbaf1c656a786714e2d0b252270f2;p=sysstat Makefile: honour LDFLAGS passed to ./configure The configure script help says that the LDFLAGS environment variable can be used to pass additional flags to linker during build. However, Makefile.in did not mention this variable at all so the additional flags were silently skipped. --- diff --git a/Makefile.in b/Makefile.in index db31aad..99c2e65 100644 --- a/Makefile.in +++ b/Makefile.in @@ -110,7 +110,7 @@ DFLAGS += $(TFLAGS) endif ifndef LFLAGS -LFLAGS = @STRIP@ +LFLAGS = @STRIP@ @LDFLAGS@ endif # Commands