summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2014-01-02 15:56:11 +0000
committerrichard <richard@pkgsrc.org>2014-01-02 15:56:11 +0000
commitc6d239b6418f1f6af9c3c1059e76d6cb4d16a658 (patch)
tree0fc3d117664e4ef60cea6a83bff5f1838954f3d7 /security
parentcde31d4e910d56958dec6f6cd08f2c54ac813fa6 (diff)
downloadpkgsrc-c6d239b6418f1f6af9c3c1059e76d6cb4d16a658.tar.gz
cipher/sha1-ssse3-amd64.S suffers a supposedly "infamous" problem wherein
expressions containing a '/' (divide) are problematic because according to the SUN x86 Assembly Language Reference Manual, '/' should be treated as starting comments. To get over this, gas has '--divide' do not treat `/' as a comment character
Diffstat (limited to 'security')
-rw-r--r--security/libgcrypt/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile
index 39d839fc9d7..37a68c62314 100644
--- a/security/libgcrypt/Makefile
+++ b/security/libgcrypt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2014/01/01 11:49:59 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2014/01/02 15:56:11 richard Exp $
DISTNAME= libgcrypt-1.6.0
CATEGORIES= security
@@ -23,6 +23,8 @@ INFO_FILES= yes # PLIST
.include "../../mk/bsd.prefs.mk"
+CPPFLAGS.SunOS+= -Wa,--divide
+
.if empty(MACHINE_PLATFORM:MNetBSD-*-i386) && \
empty(MACHINE_PLATFORM:MNetBSD-*-alpha) && \
empty(MACHINE_PLATFORM:MNetBSD-*-sparc) && \