]> granicus.if.org Git - sysstat/commitdiff
Makefile: honour LDFLAGS passed to ./configure
authorLukáš Zaoral <lzaoral@redhat.com>
Thu, 31 Mar 2022 12:06:03 +0000 (14:06 +0200)
committerLukáš Zaoral <lzaoral@redhat.com>
Thu, 31 Mar 2022 12:41:19 +0000 (14:41 +0200)
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.

Makefile.in

index db31aadd3b3fd6780be72576826683b1040d5847..99c2e65f196c2f0f0ab150ed5164d7db7d95a9f1 100644 (file)
@@ -110,7 +110,7 @@ DFLAGS += $(TFLAGS)
 endif
 
 ifndef LFLAGS
-LFLAGS = @STRIP@
+LFLAGS = @STRIP@ @LDFLAGS@
 endif
 
 # Commands