summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Schulte2020-04-01 18:59:26 -0400
committerEric Schulte2020-04-01 18:59:26 -0400
commit7724e2d1be6a52639f46816b952ec39fb0fc9b38 (patch)
treef83ade4fc32371a43d4c9bf5ba5ef40a11362af2
parentf3743b377981b1735465df1df7f769de63cec8ec (diff)
downloadaur-7724e2d1be6a52639f46816b952ec39fb0fc9b38.tar.gz
Simplify and force to find LIEF
-rw-r--r--PKGBUILD13
1 files changed, 2 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 39d3ef293f1..c3d9633c982 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Eric Schulte <eschulte@grammatech.com>
_srcname=ddisasm
pkgname=ddisasm-git
-pkgver=v0.1.1.r220.gd9ffe7f
+pkgver=v0.1.1.r628.gcd19fb5
pkgrel=1
pkgdesc="A fast and accurate disassembler"
arch=('x86_64')
@@ -22,16 +22,7 @@ pkgver() {
build() {
cd "$_srcname/"
- if [ -f /usr/include/boost/program_options.hpp ];then
- FLAGS="-DCMAKE_INSTALL_PREFIX=/usr -DDDISASM_USE_SYSTEM_BOOST=ON"
- else
- FLAGS="-DCMAKE_INSTALL_PREFIX=/usr"
- fi
- # CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"
- # CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"
- # LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
- # CFLAGS="" CXXFLAGS="" LDFLAGS="" cmake . -Bbuild $FLAGS
- cmake . -Bbuild $FLAGS
+ cmake . -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DLIEF_ROOT=/usr
make -C build
}