foremost: pass LDFLAGS.

This commit is contained in:
Christian Neukirchen 2016-05-24 15:34:58 +02:00
parent d65c11fe27
commit 5aa2f10145

View file

@ -1,11 +1,11 @@
# Template file for 'foremost'
pkgname=foremost
version=1.5.7
revision=4
revision=5
conf_files="/etc/foremost.conf"
short_desc="Forensic program to recover lost files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Public domain, GPL-2"
license="Public Domain, GPL-2"
homepage="http://foremost.sourceforge.net/"
distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
@ -14,7 +14,7 @@ do_configure() {
sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
}
do_build() {
make RAW_CC="$CC" ${makejobs}
make RAW_CC="$CC" LINK_OPT="$LDFLAGS" ${makejobs}
}
do_install() {
vbin foremost