Can you send some output showing that those flags aren't passed through, like 
some output from "make V=1" and or from config.log?

Offhand, I don't know if we ever formally supported setting env variables other 
than enable and with flag variables in the platform files...?

Sent from my phone. No type good. 

On May 23, 2012, at 12:49 PM, "Gunter, David O" <d...@lanl.gov> wrote:

> I am trying to set LDFLAGS, CFLAGS, etc, in a platform file but the 1.6 
> release does not seem to pick these up.
> 
> Here's the tail end of one of our platform files, for building with the 
> latest PGI compilers:
> 
> LDFLAGS="-nomp -lnuma"
> CFLAGS="-I/opt/panfs/include"
> CXXFLAGS="-I/opt/panfs/include"
> FCFLAGS="-I/opt/panfs/include"
> FFLAGS="-I/opt/panfs/include"
> CCASFLAGS="-I/opt/panfs/include"
> 
> The same platform file will configure the 1.4.5 release just fine but does 
> not work with 1.6. If I set these variables in my environment and then run 
> configure, it works just fine - as expected.
> 
> Has anyone else noticed this behavior?
> 
> -david
> --
> David Gunter
> HPC-3: Infrastructure Team
> Los Alamos National Laboratory
> 
> 
> 
> 
> 
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel

Reply via email to