pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/gnupg gnupg: asm is unsafe for MKPIE on i386



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95963479e4f5
branches:  trunk
changeset: 459135:95963479e4f5
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Sep 30 11:17:10 2021 +0000

description:
gnupg: asm is unsafe for MKPIE on i386

diffstat:

 security/gnupg/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 6dc470de57da -r 95963479e4f5 security/gnupg/Makefile
--- a/security/gnupg/Makefile   Thu Sep 30 11:08:57 2021 +0000
+++ b/security/gnupg/Makefile   Thu Sep 30 11:17:10 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.159 2021/09/29 19:01:16 adam Exp $
+# $NetBSD: Makefile,v 1.160 2021/09/30 11:17:10 nia Exp $
 
 DISTNAME=      gnupg-1.4.23
 PKGREVISION=   13
@@ -32,6 +32,10 @@
 CONFIGURE_ARGS+=       --disable-asm
 .endif
 
+.if ${MACHINE_ARCH} == "i386" && ${PKGSRC_MKPIE:tl} == "yes"
+CONFIGURE_ARGS+=       --disable-asm
+.endif
+
 .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
 CONFIGURE_ENV+=                CC_FOR_BUILD=${NATIVE_CC:Q}
 .endif



Home | Main Index | Thread Index | Old Index