Commit de9402c
rebalancer manifest: enable position-independent code by default
Summary:
Add [cmake.defines] CMAKE_POSITION_INDEPENDENT_CODE=ON so that
rebalancer's library archives are PIC. This is required because
librebalancer.so is now built as a shared library; without PIC the
final link fails with R_X86_64_PC32 / 'recompile with -fPIC' against
its own intermediate object files.
Reviewed By: uhebertj
Differential Revision: D103767968
fbshipit-source-id: 05f290f6576fd843805b2dbeb8dd097a9f0de7e11 parent 5e46376 commit de9402c
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
0 commit comments