libgcrypt: link with -Wl,--no-execute-only until we have a better fix.

There's a lot of handwritten armv8 assembly and fixing this for xonly
will be a whack-a-mole.

ok phessler sthen
This commit is contained in:
tb 2023-01-07 15:49:26 +00:00
parent 70f60da5b1
commit 3dc92afd91

View File

@ -1,7 +1,7 @@
COMMENT= crypto library based on code used in GnuPG COMMENT= crypto library based on code used in GnuPG
DISTNAME= libgcrypt-1.10.1 DISTNAME= libgcrypt-1.10.1
REVISION= 0 REVISION= 1
CATEGORIES= security CATEGORIES= security
SHARED_LIBS += gcrypt 21.0 # 24.1 SHARED_LIBS += gcrypt 21.0 # 24.1
@ -23,6 +23,8 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-static \ CONFIGURE_ARGS= --enable-static \
--disable-drng-support --disable-drng-support
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -Wl,--no-execute-only"
DEBUG_PACKAGES= ${BUILD_PACKAGES} DEBUG_PACKAGES= ${BUILD_PACKAGES}
.include <bsd.port.mk> .include <bsd.port.mk>