Enable relocations for BOLT

This commit is contained in:
Jarred Sumner
2025-05-24 14:56:14 -07:00
parent 7dc58e0ce4
commit 846dee17f0

View File

@@ -980,6 +980,12 @@ if(LINUX)
-Wl,--build-id=sha1 # Better for debugging than default
-Wl,-Map=${bun}.linker-map
)
if(RELEASE)
target_link_options(${bun} PUBLIC
-Wl,--emit-relocs
-Wl,-q
)
endif()
endif()
# --- Symbols list ---