KDEGames and Compilers
jeremy at lavergne.gotdns.org
Fri Feb 11 10:27:44 PST 2011
>> It looks like kdegames4 @4.6.0 needs gcc4.4 or newer , which isn't a big deal in it's own: dependencies atlas/numpy make use of it as well. Unfortunately the current build setup passes -arch to the macports-gcc-4.4.
> What is this "current build setup"?
I mean doing nothing special: using the Portfile as-is with configure.compiler set to macports-gcc-4.4.
>> 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.
> Using a MacPorts gcc compiler, and thus losing support for -arch flags, means lots of fun for supporting universal variants.
KDEGames4 already says no to universal :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3749 bytes
Desc: not available
More information about the macports-dev