KDEGames and Compilers
ryandesign at macports.org
Fri Feb 11 13:24:11 PST 2011
On Feb 11, 2011, at 12:27, Jeremy Lavergne wrote:
>>> Do we have a way of stopping that -arch flag from showing up? It might also be from PortGroup files.
>> MacPorts base should already know not to pass -arch flags to compilers that don't know how to handle them, as long as you're specifying the compiler by using configure.compiler. See proc portconfigure::arch_flag_supported in portconfigure.tcl:
> Then I'd be left assuming something in CMake might be forcing this then, or perhaps flags for CMake in Qt/KDE PortGroups.
Mmm, true, the cmake portgroup, for example, might handle things differently, and might need some improvements to mirror base's behavior of not trying to build for foreign architectures on some compilers.
More information about the macports-dev