Commit Graph
3 Commits
Author SHA1 Message Date
Dave Voutila 5274aa53b3 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.
2025-03-27 10:37:36 -04:00
Dave Voutila 18988b5f94 Fix use of errno on OpenBSD. 2025-03-27 10:36:40 -04:00
Dave Voutila 0059507374 Fix futex(8) usage on OpenBSD. 2025-03-11 10:28:48 -04:00