afl: fix CFLAGS and LDFLAGS
This commit is contained in:
parent
4017f61e7c
commit
f60905d17f
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'afl'
|
||||
pkgname=afl
|
||||
version=1.74b
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
# x86 only currently
|
||||
only_for_archs="i686 x86_64"
|
||||
|
@ -11,3 +11,8 @@ license="Apache-2.0"
|
|||
homepage="http://lcamtuf.coredump.cx/afl/"
|
||||
distfiles="http://lcamtuf.coredump.cx/afl/releases/afl-${version}.tgz"
|
||||
checksum=7e47db90f2a2f5d48e0b2355ece3ee28b7896b8b9a9991af5f8315a7df28305f
|
||||
|
||||
pre_build() {
|
||||
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
|
||||
sed -i 's/^ \(LDFLAGS *+=\)/override \1/' Makefile
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue