aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2021-10-17 10:09:21 -0600
committerAriadne Conill <ariadne@dereferenced.org>2021-10-17 10:09:21 -0600
commitd87acd2e2c2ef847a47d318ee427a919e822d8e9 (patch)
tree5b880dae8c92963b28ab0ff8323d65279f0d57c3
parent48367644027d98b2a0c7a6f6f5577a30807713d4 (diff)
downloadaports-d87acd2e2c2ef847a47d318ee427a919e822d8e9.tar.gz
aports-d87acd2e2c2ef847a47d318ee427a919e822d8e9.tar.bz2
aports-d87acd2e2c2ef847a47d318ee427a919e822d8e9.tar.xz
main/libffi: enable portable binary option, disable static trampolines
fixes alpine/aports#13086 and alpine/aports#13091.
-rw-r--r--main/libffi/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/libffi/APKBUILD b/main/libffi/APKBUILD
index d69527b9c9..227a5568f9 100644
--- a/main/libffi/APKBUILD
+++ b/main/libffi/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libffi
pkgver=3.4.2
-pkgrel=0
+pkgrel=1
pkgdesc="portable, high level programming interface to various calling conventions."
url="https://sourceware.org/libffi/"
arch="all"
@@ -29,7 +29,9 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --enable-pax_emutramp
+ --enable-pax_emutramp \
+ --enable-portable-binary \
+ --disable-exec-static-tramp
make
}