Changeset 81288


Ignore:
Timestamp:
Jul 29, 2011, 2:15:17 AM (9 years ago)
Author:
jmr@…
Message:

qemu: don't build with llvm, fails to build (clang) or crashes at runtime (llvm-gcc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/emulators/qemu/Portfile

    r81287 r81288  
    3636                        port:ossp-uuid
    3737
     38# target-i386/exec.h:31:30: error: global register variables are not supported
     39if {${configure.compiler} == "clang" ||
     40    ${configure.compiler} == "llvm-gcc-4.2"} {
     41    configure.compiler gcc-4.2
     42    if {![file executable ${configure.cc}]} {
     43        depends_build-append port:apple-gcc42
     44        configure.compiler apple-gcc-4.2
     45    }
     46}
     47
    3848configure.args          --cc=${configure.cc} \
    3949                        --host-cc=${configure.cc}
Note: See TracChangeset for help on using the changeset viewer.