pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/libgcrypt Fix building with clang on i386 (PR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5c5175082fc
branches:  trunk
changeset: 601923:c5c5175082fc
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 03 15:00:30 2012 +0000

description:
Fix building with clang on i386 (PR#46177)

diffstat:

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

diffs (20 lines):

diff -r 9d07278290b2 -r c5c5175082fc security/libgcrypt/Makefile
--- a/security/libgcrypt/Makefile       Tue Apr 03 09:57:08 2012 +0000
+++ b/security/libgcrypt/Makefile       Tue Apr 03 15:00:30 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2011/07/15 20:58:56 drochner Exp $
+# $NetBSD: Makefile,v 1.53 2012/04/03 15:00:30 adam Exp $
 
 DISTNAME=      libgcrypt-1.5.0
 CATEGORIES=    security
@@ -35,6 +35,10 @@
 .endif
 CONFIGURE_ARGS+=       --disable-aesni-support
 
+.if !empty(PKGSRC_COMPILER:Mclang)
+CFLAGS+=               -fheinous-gnu-extensions
+.endif
+
 .include "options.mk"
 
 .include "../../security/libgpg-error/buildlink3.mk"



Home | Main Index | Thread Index | Old Index