Changes between Initial Version and Version 1 of Ticket #44125, comment 6


Ignore:
Timestamp:
Jul 16, 2014, 7:14:24 AM (10 years ago)
Author:
jeremyhu (Jeremy Huddleston Sequoia)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44125, comment 6

    initial v1  
    22
    33Yeah, the CMake PortGroup should honor configure.sdk_version and configure.sdkroot ... is that not the case right now?
     4
     5base does:
     6{{{
     7        # add SDK flags if cross-compiling (or universal on ppc tiger)
     8        if {${configure.sdkroot} ne ""} {
     9            foreach env_var {CPPFLAGS CFLAGS CXXFLAGS OBJCFLAGS OBJCXXFLAGS} {
     10                append_to_environment_value configure $env_var -isysroot ${configure.sdkroot}
     11            }
     12            append_to_environment_value configure "LDFLAGS" -Wl,-syslibroot,${configure.sdkroot}
     13        }
     14}}}