mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/afl: fix
This commit is contained in:
parent
bf94e69b46
commit
e896926179
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - make with AFL_NO_X86=1
|
# - make with AFL_NO_X86=1
|
||||||
|
# - strip -fno-plt from v5 CFLAGS (old LLVM)
|
||||||
|
|
||||||
pkgname=afl
|
pkgname=afl
|
||||||
pkgver=2.51b
|
pkgver=2.51b
|
||||||
|
@ -26,6 +27,7 @@ sha512sums=('fd67cf44b7336175041c2efa42b122e91f887f4a293618a59ea1e145ef47b9c0fab
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${pkgname}-${pkgver}
|
cd ${pkgname}-${pkgver}
|
||||||
|
[[ $CARCH == "arm" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/-fno-plt//'` && CXXFLAGS="$CFLAGS"
|
||||||
make PREFIX=/usr AFL_NO_X86=1
|
make PREFIX=/usr AFL_NO_X86=1
|
||||||
make -C llvm_mode PREFIX=/usr
|
make -C llvm_mode PREFIX=/usr
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue