Ticket #29104: patch-gcc46-xcode4.diff

File patch-gcc46-xcode4.diff, 404 bytes (added by raimue (Rainer Müller), 13 years ago)

Use clang to bootstrap gcc

  • Portfile

     
    7373        copy ${distpath}/${ecj} ${workpath}/gcc-${version}/ecj.jar
    7474}
    7575
     76if {[rpm-vercomp $xcodeversion 4.0] >= 0} {
     77    configure.compiler clang
     78}
     79
    7680# the generated compiler doesn't accept -arch
    7781configure.cc_archflags
    7882configure.cxx_archflags