configure.build_arch

Toby Peterson toby at macports.org
Tue Sep 15 14:43:29 PDT 2009


On Tue, Sep 15, 2009 at 14:23, Jack Howarth <howarth at bromo.med.uc.edu> wrote:
>   Reading through the commits on the configure.build_arch feature
> in port, I am rather surprised that invoking that doesn't also
> set the triplets for configure as well as passing the -m32 or
> -m64 compiler flags.

It does pass -m32/-m64 if the configure.compiler setting refers to a
compiler that doesn't support -arch flags.

> Wouldn't you at least want to set
> --target= to the appropriate value so that configure understood
> what architecture it was going to build for?

Passing --target doesn't make any sense, as we are not cross-compiling.

- Toby


More information about the macports-dev mailing list