From 6dcfef919ec5310cae8d82b493c525b565239d45 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sun, 12 Nov 2017 07:31:59 +0000 Subject: [PATCH] afl: update to 2.52b. --- srcpkgs/afl/template | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/srcpkgs/afl/template b/srcpkgs/afl/template index d9fe9161b71..ecc902ecb79 100644 --- a/srcpkgs/afl/template +++ b/srcpkgs/afl/template @@ -1,6 +1,6 @@ # Template file for 'afl' pkgname=afl -version=2.51b +version=2.52b revision=1 build_style=gnu-makefile # x86 only currently @@ -11,12 +11,15 @@ maintainer="Juan RP " license="Apache-2.0" homepage="http://lcamtuf.coredump.cx/afl/" distfiles="http://lcamtuf.coredump.cx/afl/releases/afl-${version}.tgz" -checksum=d435b94b35b844ea0bacbdb8516d2d5adffc2a4f4a5aad78785c5d2a5495bb97 -nopie=yes # clang flags +checksum=43614b4b91c014d39ef086c5cc84ff5f068010c264c2c05bf199df60898ce045 nostrip_files="small_archive.a small_exec.elf" do_build() { make PREFIX=/usr + + CFLAGS="${CFLAGS} -fPIC" \ + CXXFLAGS="${CXXFLAGS} -fPIC" \ + LDFLAGS="${LDFLAGS} -pie" \ make PREFIX=/usr CC=clang CXX=clang++ -C llvm_mode }