mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
nix: pass LDFLAGS.
This commit is contained in:
parent
0ce8ab93e5
commit
621a6910c2
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'nix'
|
# Template file for 'nix'
|
||||||
pkgname=nix
|
pkgname=nix
|
||||||
version=1.10
|
version=1.10
|
||||||
revision=5
|
revision=6
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
# Use /nix/var as suggested by the official Manual.
|
# Use /nix/var as suggested by the official Manual.
|
||||||
configure_args="--localstatedir=/nix/var"
|
configure_args="--localstatedir=/nix/var"
|
||||||
|
@ -39,6 +39,7 @@ checksum=5612ca7a549dd1ee20b208123e041aaa95a414a0e8f650ea88c672dc023d10f6
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i '/CFLAGS=/d;/CXXFLAGS=/d' configure.ac
|
sed -i '/CFLAGS=/d;/CXXFLAGS=/d' configure.ac
|
||||||
|
echo "GLOBAL_LDFLAGS += $LDFLAGS" >>mk/lib.mk
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue