mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
mk: add support for passing LDFLAGS to libs and bins
autotools-based systems usually allow user to append own LDFLAGS like LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" at ./configure stage This change plumbs LDFLAGS through similar to existing CXXFLAGS variable. Signed-off-by: Sergei Trofimovich <siarheit@google.com>
This commit is contained in:
parent
57daa860e8
commit
fe068eca00
3 changed files with 5 additions and 4 deletions
|
@ -5,6 +5,7 @@ CC = @CC@
|
|||
CFLAGS = @CFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
ENABLE_S3 = @ENABLE_S3@
|
||||
HAVE_SODIUM = @HAVE_SODIUM@
|
||||
HAVE_READLINE = @HAVE_READLINE@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue