mkinitcpio-nfs-utils: use LDFLAGS.

This commit is contained in:
Christian Neukirchen 2016-05-26 18:40:36 +02:00
parent 4a4382b974
commit 1087f3f77d
1 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'mkinitcpio-nfs-utils'
pkgname=mkinitcpio-nfs-utils
version=0.3
revision=1
revision=2
build_style=gnu-makefile
short_desc="Ipconfig and nfsmount tools for NFS root support in mkinitcpio"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
@ -20,6 +20,9 @@ esac
patch_args="-Np1"
post_extract() {
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' */Makefile
}
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
@ -28,7 +31,6 @@ pre_configure() {
;;
esac
}
post_install() {
vinstall ${FILESDIR}/initcpio-install-net 644 usr/lib/initcpio/install net
vinstall ${FILESDIR}/initcpio-hook-net 644 usr/lib/initcpio/hooks net