aboutsummaryrefslogtreecommitdiffstats
path: root/community/quassel
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2019-04-29 14:18:25 -0400
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-10 19:24:09 +0000
commit21d0f597c7c8bd6b36ea97616847e0b811738738 (patch)
tree2ec2e0c98102455bed9a54b4865bc1252fbe5add /community/quassel
parent4760708dc8b99c76e22795ec0a5fe0206350b9a6 (diff)
downloadaports-21d0f597c7c8bd6b36ea97616847e0b811738738.tar.bz2
aports-21d0f597c7c8bd6b36ea97616847e0b811738738.tar.xz
community/quassel: adjust CXXFLAGS
This is blatantly borrowed from: https://git.kuschku.de/justJanne/quassel-docker/blob/428c7f2f5f1a634aceae18b5eab01ec88f2e781d/Dockerfile
Diffstat (limited to 'community/quassel')
-rw-r--r--community/quassel/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/quassel/APKBUILD b/community/quassel/APKBUILD
index 73da0f5434..61617ff5d1 100644
--- a/community/quassel/APKBUILD
+++ b/community/quassel/APKBUILD
@@ -2,7 +2,7 @@
pkgname=quassel
pkgver=0.13.1
-pkgrel=2
+pkgrel=3
url="https://www.quassel-irc.org/"
pkgdesc="Distributed IRC client - metapackage"
arch="all"
@@ -35,6 +35,8 @@ build() {
mkdir build
cd build
+
+ CXXFLAGS="-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fPIE -pie -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now" \
cmake \
-DCMAKE_INSTALL_PREFIX=/usr/ \
-DCMAKE_BUILD_TYPE="Release" \