summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Krivopalov2017-09-13 22:54:57 -0700
committerVladimir Krivopalov2017-09-13 22:54:57 -0700
commitf1367ec43e3fdc7fcb2e8e5e57b79607950dddea (patch)
tree0738bebcb33240135832ef3f737e293b5e5f3051
parent79b948624a372a9cd37d6511cdee8625fe16ed9e (diff)
downloadaur-f1367ec43e3fdc7fcb2e8e5e57b79607950dddea.tar.gz
Work around the issue with DPDK and _FORTIFY_SOURCE=2 flag.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 4 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5be9c322d4fd..ef385235c7a6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Sep 14 05:52:11 UTC 2017
+# Thu Sep 14 05:54:53 UTC 2017
pkgbase = scylla-git
pkgdesc = Scylla is an open source NoSQL drop-in replacement for Apache Cassandra with fast throughput and low latency
pkgver = r12846.3077416ec
diff --git a/PKGBUILD b/PKGBUILD
index 171da154389c..fda8c7cfe411 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -57,6 +57,9 @@ prepare() {
build() {
cd "$srcdir/${pkgname%-git}"
+ # Workaround for https://lists.archlinux.org/pipermail/arch-dev-public/2013-April/024776.html
+ # Since DPDK doesn't build well with _FORTIFY_SOURCE=2
+ unset CPPFLAGS
./configure.py --mode=release --enable-dpdk
ninja -j`nproc --all` build/release/scylla build/release/iotune
cp dist/common/systemd/scylla-server.service.in build/scylla-server.service