diff options
author | adam <adam> | 2012-04-03 15:00:30 +0000 |
---|---|---|
committer | adam <adam> | 2012-04-03 15:00:30 +0000 |
commit | 7bdcff86ef6306bdef0e5f1aac5477664f971d55 (patch) | |
tree | 69e2114cb56129e4f3366eb96d05fea186af8301 /security | |
parent | 014364fdf65a38965789c7c5023cc9da0a1390e2 (diff) | |
download | pkgsrc-7bdcff86ef6306bdef0e5f1aac5477664f971d55.tar.gz |
Fix building with clang on i386 (PR#46177)
Diffstat (limited to 'security')
-rw-r--r-- | security/libgcrypt/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile index 651a8d78ee0..1c45fe1509d 100644 --- a/security/libgcrypt/Makefile +++ b/security/libgcrypt/Makefile @@ -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 @@ CONFIGURE_ARGS+= --disable-asm .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" |