KDEGames and Compilers

Ryan Schmidt 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:
>> http://trac.macports.org/browser/trunk/base/src/port1.0/portconfigure.tcl?rev=73708#L333
> 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 mailing list