aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-31 04:14:36 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-31 04:14:36 -0300
commit19a7a447874e970e1b89a90b529df34c7e9c717b (patch)
tree18c9e2ae4c271382d600bf1292171268c42d21d6
parent91df83590112c72f18124dd02b3c477eba06d3b3 (diff)
downloadaports-19a7a447874e970e1b89a90b529df34c7e9c717b.tar.bz2
aports-19a7a447874e970e1b89a90b529df34c7e9c717b.tar.xz
testing/tau: disable stack protector on x86
-rw-r--r--testing/tau/APKBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/tau/APKBUILD b/testing/tau/APKBUILD
index 95cc6ec4e0..7a67ede0b2 100644
--- a/testing/tau/APKBUILD
+++ b/testing/tau/APKBUILD
@@ -14,6 +14,13 @@ subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/World/Tau/uploads/fdf09640e3837ad509f5c4b1da0c26e3/tau-$pkgver.tar.xz"
build() {
+ # Fails to compile libbacktrace-sys otherwise
+ case "$CARCH" in
+ x86)
+ export CFLAGS="$CFLAGS -fno-stack-protector"
+ ;;
+ esac
+
meson \
--prefix=/usr \
--sysconfdir=/etc \