Ticket #21194: Portfile.diff

File Portfile.diff, 549 bytes (added by royliu@…, 15 years ago)

Portfile diff

  • Portfile

    old new  
    5353                        port:i386-mingw32-binutils \
    5454                        port:gettext
    5555
     56# Null out the build architecture if 64-bit, since this causes CFLAGS to be
     57# set, which in turn causes the libiberty build to fail with cross gcc.
     58if {${build_arch} == "x86_64"} {
     59    configure.build_arch
     60}
     61
    5662# Build in a different directory, as advised in the README file.
    5763pre-configure   { system "cd ${workpath} && mkdir -p build" }
    5864configure.dir   ${workpath}/build