dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07997
Re: linker options
On Mon, May 19, 2008 Garth N. Wells wrote:
> Johannes Ring wrote:
>> On Sun, May 18, 2008 Garth N. Wells wrote:
>>> With the SCons-based build system, how can I set custom linker flags?
>>
>> There is currently no easy way of setting custom linker flags when
>> compiling DOLFIN. We have the option customCxxFlags for compile time
>> flags, but nothing for customizing linker flags. Is this something that
>> is
>> wanted? Should we add an option customLinkFlags or similar? Or is it
>> better to detect if the environment variables LDFLAGS/LINKFLAGS and
>> CXXFLAGS are defined and use those? We can of course have both.
>>
>
> Either way is fine for me. Might be nice to have 'customLinkFlags' to
> complement 'customCxxFlags'.
Added this option now (as well as detection of the CXXFLAGS and LINKFLAGS
environment variables).
Johannes
References