mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00

This workaround appears to apply with gold<2.34 -O2/-O3 (linker -O2, not compiler driver -O2). This used to be more visible as we used -Wl,-O3 in CMake, but the option is generally not recommended and has been removed by d63016a86548e8231002a760bbe9eb817cd1eb00 (Dec 2021). This finishes a workaround removal work started by D64327 (2019). Link: https://github.com/llvm/llvm-project/issues/45269