Changeset 72166


Ignore:
Timestamp:
Oct 5, 2010, 9:16:47 PM (9 years ago)
Author:
jmr@…
Message:

sh-rtems-gcc: clear archflags (#26733), set build/host type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/sh-rtems-gcc/Portfile

    r72086 r72166  
    9191configure.cmd   ${workpath}/gcc-${version}/configure
    9292configure.env   ${environment}
     93# the generated compiler doesn't accept -arch
     94configure.cc_archflags
     95configure.cxx_archflags
     96configure.objc_archflags
     97configure.ld_archflags
    9398configure.args  --infodir='${prefix}/share/info' \
    9499                                --mandir='${prefix}/share/man' \
     
    101106                                --with-gxx-include-dir=${prefix}/${crossgcc-target}/include/c++/${version}/ \
    102107                                ${default-languages}
     108if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     109    configure.args-append --build=${build_arch}-apple-darwin${os.version} \
     110                          --host=${build_arch}-apple-darwin${os.version}
     111}
    103112
    104113build.dir       ${workpath}/build
Note: See TracChangeset for help on using the changeset viewer.