Changeset 90749 for trunk/dports/cross


Ignore:
Timestamp:
Mar 14, 2012, 4:57:58 AM (8 years ago)
Author:
jmr@…
Message:

i386-elf-gcc: use correct compiler and build with -std=gnu89 (fixes #28912)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/i386-elf-gcc/Portfile

    r72086 r90749  
    7474configure.dir   ${workpath}/build
    7575configure.cmd   ${workpath}/gcc-${version}/configure
    76 configure.cc    "cc -no-cpp-precomp -I${prefix}/include"
    7776configure.env   ${environment}
     77configure.cflags-append -std=gnu89
    7878configure.args  --infodir='${prefix}/share/info' \
    7979                                --mandir='${prefix}/share/man' \
     
    9090configure.cxx_archflags
    9191configure.objc_archflags
    92 if {[info exists configure.ld_archflags]} {
    93     configure.ld_archflags
    94 }
     92configure.ld_archflags
    9593if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    96     configure.args-append --build=${build_arch}-apple-darwin${os.major}
     94    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
    9795}
    9896
Note: See TracChangeset for help on using the changeset viewer.