Commit 8dd365a0 authored by Krzysztof Leśniak's avatar Krzysztof Leśniak
Browse files

Disable PIC where possible

Disable -fPIC flag for executables and static libraries used only by
executables.

-fPIC seems to get in the way of some optimisations. One example would
be `with_skip_flags`, which is not inlined in
`hive::chain::database::apply_transaction` function. Disabling that flag
makes the function inlined properly.
parent 73c943a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment