universal flags and configuration

Rainer Müller raimue at macports.org
Thu Feb 7 16:42:39 PST 2008


Ryan Schmidt wrote:
>> There are some workarounds for known shortcomings/bugs, such as
>> setting -mmacosx-version-min instead of macosx_deployment_target
>> when the variable don't want to take effect,
> 
> The documentation I've read says to use MACOSX_DEPLOYMENT_TARGET 
> environment variable. When is this -mmacosx-version-min applicable instead?

As far as I know, it is possible to either use MACOSX_DEPLOYMENT_TARGET 
as env var or directly pass -mmacosx-version-min to gcc. But the latter 
takes preference over the former.

Rainer




More information about the macports-dev mailing list