Sorry, the correct construction for linker flasgs is LINKFLAGS, not LDFLAGS. /Dag
Dag Lindbo wrote: > Garth N. Wells wrote: >> With the SCons-based build system, how can I set custom linker flags? >> >> Garth > > You can append flags to an environment like this: > env.Append(CCFLAGS='-pg') > env.Append(LDFLAGS='-pg') > > There is also env.Replace and env.Prepend in the same manner. > > If you are curious what scons thinks the environment is, do > print env.Dump() > > /Dag > > > > ------------------------------------------------------------------------ > > _______________________________________________ > DOLFIN-dev mailing list > [email protected] > http://www.fenics.org/mailman/listinfo/dolfin-dev
signature.asc
Description: OpenPGP digital signature
_______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
