|
From: Nicholas N. <n.n...@gm...> - 2009-08-20 22:55:36
|
On Fri, Aug 21, 2009 at 5:57 AM, Maurice van der Pot<gri...@kf...> wrote: > As I understand it mpicc is simply a wrapper for the regular compiler, > that adds a couple of flags for MPI headers and libs. > > The makefile in the mpi directory currently overrides any CFLAGS/LDFLAGS > specification with a fixed set of flags. Why is that? Hmm, not sure. I think we have to override CC with MPI_CC but the same might not be true for CFLAGS/LDFLAGS. > I have also been wondering if you would be willing to modify > configure.in to respect CFLAGS set in the environment. Right now it > overwrites them with "-Wno-long-long" (configure.in:21). > I have been using a patch for this in Gentoo since sometime in 2005. Seems reasonable. Can you please file a bug for it? Thanks. Nick |