zerofree: respect our LDFLAGS
This commit is contained in:
parent
9e77363454
commit
2162d07f32
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'zerofree'
|
||||
pkgname=zerofree
|
||||
version=1.0.4
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
makedepends="e2fsprogs-devel"
|
||||
short_desc="A tool to zero free blocks in an ext2 filesystem"
|
||||
|
@ -11,6 +11,10 @@ homepage="https://frippery.org/uml/index.html"
|
|||
distfiles="https://frippery.org/uml/${pkgname}-${version}.tgz"
|
||||
checksum=a7f9e293961eb653df55cf54774f2036924f31019814ead5554c393eecae6838
|
||||
|
||||
pre_build() {
|
||||
export CFLAGS="$CFLAGS $LDFLAGS"
|
||||
}
|
||||
|
||||
post_extract() {
|
||||
sed -i "16i#include <sys/stat.h>" zerofree.c
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue