[81288] trunk/dports/emulators/qemu/Portfile

jmr at macports.org jmr at macports.org
Thu Jul 28 19:15:19 PDT 2011


Revision: 81288
          http://trac.macports.org/changeset/81288
Author:   jmr at macports.org
Date:     2011-07-28 19:15:17 -0700 (Thu, 28 Jul 2011)
Log Message:
-----------
qemu: don't build with llvm, fails to build (clang) or crashes at runtime (llvm-gcc)

Modified Paths:
--------------
    trunk/dports/emulators/qemu/Portfile

Modified: trunk/dports/emulators/qemu/Portfile
===================================================================
--- trunk/dports/emulators/qemu/Portfile	2011-07-29 01:48:39 UTC (rev 81287)
+++ trunk/dports/emulators/qemu/Portfile	2011-07-29 02:15:17 UTC (rev 81288)
@@ -35,6 +35,16 @@
                         port:jpeg \
                         port:ossp-uuid
 
+# target-i386/exec.h:31:30: error: global register variables are not supported
+if {${configure.compiler} == "clang" ||
+    ${configure.compiler} == "llvm-gcc-4.2"} {
+    configure.compiler gcc-4.2
+    if {![file executable ${configure.cc}]} {
+        depends_build-append port:apple-gcc42
+        configure.compiler apple-gcc-4.2
+    }
+}
+
 configure.args          --cc=${configure.cc} \
                         --host-cc=${configure.cc}
 if {$build_arch != ""} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110728/650c0d05/attachment.html>


More information about the macports-changes mailing list