Allow disabling the hot linker script via ld-gold
commitb4d1331b9bd4f2a6638a2e8d99a7059174d7e0b9
authorSara Golemon <sgolemon@fb.com>
Tue, 26 Jan 2016 18:40:40 +0000 (26 10:40 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Tue, 26 Jan 2016 19:00:43 +0000 (26 11:00 -0800)
treed5ee6084f8892b07ea50402e03e4810195ad1133
parent102105c1c800e1ded3f74ff4c3efd13174aff661
Allow disabling the hot linker script via ld-gold

Summary:
cmake -DENABLE_LD_GOLD=Off .

Even if ld-gold is found, don't reorder the hot profile sections.
This is useful for debug and/or testing builds where production performance
is secondary to completing the build and running regression tests.

Reviewed By: paulbiss

Differential Revision: D2864573

fb-gh-sync-id: ea6f3aee30d9440c6e82eecf7946eed7a4928db2
hphp/hhvm/CMakeLists.txt