aboutsummaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
authorDave Voutila <voutilad@gmail.com>2025-03-27 10:37:36 -0400
committerDave Voutila <voutilad@gmail.com>2025-03-27 10:37:36 -0400
commit5274aa53b3eefc661e48fb66befd3e75f7bc4177 (patch)
tree1b431a1cfbef5baab122e7bafbf98fdb0085f447 /src/string.cpp
parent18988b5f94ba3447167befad84b42ab23358ea38 (diff)
Fix linker invocation on OpenBSD.
Firstly, we need to explicitly request pthreads and also need to mind the fact ports (like SDL2) install in /usr/local/lib. Secondly, since OpenBSD 7.4 the system enforces indirect branch targets on hardware platforms that support it. Until the LLVM integration in Odin can be changed to emit proper branch targets (e.g. endbr64 on amd64), we need to request the linker make the resulting program opt-out of enforcement.
Diffstat (limited to 'src/string.cpp')
0 files changed, 0 insertions, 0 deletions