dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07975
Re: linker options
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
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
Attachment:
signature.asc
Description: OpenPGP digital signature
References