configure 64bit -arch test

Lawrence Velázquez larryv at macports.org
Thu Aug 8 12:07:27 PDT 2013


On Aug 8, 2013, at 12:34, jlm at justinfront.net wrote:

> Stuff like arch is one of the reasons I did not get rust to compile locally.


This is an upstream problem. The Rust build system assumes that any user compiling with GCC on OS X is using an Apple-custom GCC, so it uses -arch everywhere. Ironically, they only support building with GCC 4.4 or later, which leaves out all Apple-custom GCCs.

I worked around this in the rust Portfile by removing all mentions of "-arch FOO" from mk/platform.mk. Try that, if you haven't already.

vq


More information about the macports-users mailing list