[
https://issues.apache.org/jira/browse/CLOWNFISH-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852846#comment-15852846
]
Nick Wellnhofer commented on CLOWNFISH-74:
------------------------------------------
Currently, we pass compiler flags at the end of the {{charmonizer}} command,
separated with {{--}}:
{noformat}
./charmonizer [options] -- [cflags]
{noformat}
We can't use this mechanism for linker flags, too, and compiler and linker
flags should be passed in the same way, so I'd suggest either:
{noformat}
./charmonizer --cflags "[cflags]" --ldflags "[ldflags]" [other options]
{noformat}
Or via the environment:
{noformat}
CFLAGS="[cflags]" LDFLAGS="[ldflags]" ./charmonizer [options]
{noformat}
Both methods require quotes when passing multiple flags, but I don't see a
better solution.
> Add option to pass custom linker flags
> --------------------------------------
>
> Key: CLOWNFISH-74
> URL: https://issues.apache.org/jira/browse/CLOWNFISH-74
> Project: Apache Lucy-Clownfish
> Issue Type: Improvement
> Components: Charmonizer
> Reporter: Nick Wellnhofer
>
> For the C library build, it is sometimes necessary to pass additional linker
> flags (32/64-bit builds, for example).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)