On Jul 24, 2013, at 02:57, Mojca Miklavec wrote:
> MacPorts provides a procedure
> get_canonical_archflags
> which returns "-arch i386 -arch x86_64". Is there any procedure that
> would return "i386,x86_64" instead?
The cmake portgroup does:
configure.universal_args-append \
-DCMAKE_OSX_ARCHITECTURES="[join
${configure.universal_archs} \;]"
So you could get it with a comma using:
[join ${configure.universal_archs} ,]
Note that's not canonical; that's only applicable when the universal variant is
selected.
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev