diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-12-27 23:42:26 +0100 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-12-27 23:42:26 +0100 |
commit | 99cf723ef8e7124da089eac8e97bf4a1af173371 (patch) | |
tree | 17dc4fd1d53b080bf4af80e84b9f99b88e4e68cd | |
parent | c5f7c53a4e17fec6754ae7bcd69104b892030cff (diff) | |
download | aports-99cf723ef8e7124da089eac8e97bf4a1af173371.zip |
testing/mdcat: fix on x86 by disabling stack protector
-rw-r--r-- | testing/mdcat/APKBUILD | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/mdcat/APKBUILD b/testing/mdcat/APKBUILD index 01cf7c55960..64b18474e84 100644 --- a/testing/mdcat/APKBUILD +++ b/testing/mdcat/APKBUILD @@ -15,6 +15,13 @@ builddir="$srcdir/mdcat-mdcat-$pkgver" export RUSTONIG_DYNAMIC_LIBONING=1 build() { + # fails linking to libonig w/ stack protector + case "$CARCH" in + x86) + export CFLAGS="$CFLAGS -fno-stack-protector" + ;; + esac + cargo build --release --locked } |