Building for different version and/or SDK

Ryan Schmidt ryandesign at macports.org
Wed Sep 8 09:45:11 PDT 2010


On Sep 8, 2010, at 04:52, Harry van der Wolf wrote:

> Such a pity. It does work when compiling with CFLAGS like "export CFLAGS="-isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" (same for CXXFLAGS). But in that case I have to compile everything by hand.
> Could I export these flags into my environment and then run my "port install blahblah" or are these settings overruled?

MacPorts clears out the environment variables to ensure a consistent build.



More information about the macports-users mailing list