Ticket #43262: gmp-sdkroot.diff

File gmp-sdkroot.diff, 519 bytes (added by ryandesign (Ryan Carsten Schmidt), 11 years ago)
  • Portfile

     
    5959    configure.cxx-append -stdlib=${configure.cxx_stdlib}
    6060    configure.cxx_stdlib
    6161}
     62
     63# See #43262
     64if {${configure.sdkroot} ne ""} {
     65    configure.cc-append     -isysroot${configure.sdkroot}
     66    configure.cxx-append    -isysroot${configure.sdkroot}
     67    configure.sdkroot
     68}
     69
    6270configure.cc_archflags
    6371configure.cxx_archflags
    6472configure.ld_archflags