Ticket #48611: archflags.diff

File archflags.diff, 541 bytes (added by ryandesign (Ryan Carsten Schmidt), 9 years ago)

proposed patch

  • Portfile

     
    3636configure.args  --disable-nls
    3737
    3838variant universal {}
    39 if {[variant_isset universal]} {
    40         set archflags ${configure.universal_cflags}
    41 } else {
    42         set archflags ${configure.cc_archflags}
    43 }
    4439
    4540build.target    watch
    46 build.args      CC="${configure.cc} ${archflags}" \
     41build.args      CC="${configure.cc} [get_canonical_archflags cc]" \
    4742                LDFLAGS="${configure.ldflags}" \
    4843                AM_LDFLAGS=""
    4944