nix: pass LDFLAGS.
This commit is contained in:
parent
0ce8ab93e5
commit
621a6910c2
@ -1,7 +1,7 @@
|
||||
# Template file for 'nix'
|
||||
pkgname=nix
|
||||
version=1.10
|
||||
revision=5
|
||||
revision=6
|
||||
build_style=gnu-configure
|
||||
# Use /nix/var as suggested by the official Manual.
|
||||
configure_args="--localstatedir=/nix/var"
|
||||
@ -39,6 +39,7 @@ checksum=5612ca7a549dd1ee20b208123e041aaa95a414a0e8f650ea88c672dc023d10f6
|
||||
|
||||
pre_configure() {
|
||||
sed -i '/CFLAGS=/d;/CXXFLAGS=/d' configure.ac
|
||||
echo "GLOBAL_LDFLAGS += $LDFLAGS" >>mk/lib.mk
|
||||
autoreconf -fi
|
||||
}
|
||||
post_install() {
|
||||
|
Loading…
Reference in New Issue
Block a user