Shouldn't arch flags also go in LDFLAGS?

Joshua Root jmr at macports.org
Tue Dec 8 15:27:09 PST 2009


On 2009-12-9 10:11 , Ryan Schmidt wrote:
> Port pure wasn't respecting build_arch properly. In discussing this with the developer of pure, I told him MacPorts puts the arch flags in CFLAGS and CPPFLAGS, and he explained that we should also be putting them in LDFLAGS [1]. I notice the muniversal portgroup and the regular universal variant both do this when building universal. Is there any reason base should not also do so when not building universal?

<http://lists.macosforge.org/pipermail/macports-dev/2009-November/010789.html>

- Josh


More information about the macports-dev mailing list