[88128] trunk/dports/devel/libgcrypt/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Dec 19 22:33:25 PST 2011
Revision: 88128
http://trac.macports.org/changeset/88128
Author: jeremyhu at macports.org
Date: 2011-12-19 22:33:24 -0800 (Mon, 19 Dec 2011)
Log Message:
-----------
libgcrypt: Build fix for XCode 3.2.6
Modified Paths:
--------------
trunk/dports/devel/libgcrypt/Portfile
Modified: trunk/dports/devel/libgcrypt/Portfile
===================================================================
--- trunk/dports/devel/libgcrypt/Portfile 2011-12-20 06:30:56 UTC (rev 88127)
+++ trunk/dports/devel/libgcrypt/Portfile 2011-12-20 06:33:24 UTC (rev 88128)
@@ -42,6 +42,12 @@
# libgcrypt-1.5.0 does some ugly stuff with their udiv_qrnnd macro in mpih-div.c
# error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast
configure.cflags-append "-fheinous-gnu-extensions"
+} elseif {${configure.compiler} == "gcc-4.2"} {
+ # gcc-4.2 from XCode 3.2.6 fails to build this for i386 with
+ # rijndael.c: In function 'do_aesni_ctr':
+ # rijndael.c:895: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
+ # rijndael.c:895: error: 'asm' operand has impossible constraints
+ configure.compiler llvm-gcc-4.2
}
post-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111219/e18cf995/attachment.html>
More information about the macports-changes
mailing list