configure --cross=cray* ignores --with-cc/--with-cxx

Issue #346 resolved
Dan Bonachea created an issue

One of the design purposes of configure --with-cc=X --with-cxx=Y is to force the use of a particular compiler. However upcxx/configure assumes it can always accomplish this via the environment and strips these args from the subordinate configure command line.

This works fine until you add a --cross cross-configure script, which overwrites the environment, thus completely wiping out the effect of the top-level configure option.

The same defect affects CC and CXX explicitly provided in the configure environment (in the absence of --with-cc/--with-cxx) when cross-configuring.

Comments (3)

  1. Paul Hargrove

    makefile: CC and CXX on GASNet configure cmdline

    This commit resolves issue 346 by passing the CC and CXX values to GASNet's configure command as explicit arguments, rather than in the environment.

    → <<cset 43b610040b9f>>

  2. Log in to comment