From 21d0f597c7c8bd6b36ea97616847e0b811738738 Mon Sep 17 00:00:00 2001 From: tcely Date: Mon, 29 Apr 2019 14:18:25 -0400 Subject: community/quassel: adjust CXXFLAGS This is blatantly borrowed from: https://git.kuschku.de/justJanne/quassel-docker/blob/428c7f2f5f1a634aceae18b5eab01ec88f2e781d/Dockerfile --- community/quassel/APKBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'community/quassel') 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" \ -- cgit v1.2.3