Skip to content

Commit

Permalink
m1n1.asm: make it work again on OpenBSD
Browse files Browse the repository at this point in the history
Using llvm from ports.

Signed-off-by: Mark Kettenis <[email protected]>
  • Loading branch information
kettenis authored and marcan committed Sep 7, 2023
1 parent 24a3a0d commit ea64e7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proxyclient/m1n1/asm.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
else:
TOOLCHAIN = "/usr/local/opt/llvm/bin/"
USE_CLANG = "1"
elif uname.sysname == "OpenBSD":
DEFAULT_ARCH = "aarch64-none-elf-"
TOOLCHAIN = "/usr/local/bin/"
USE_CLANG = "1"
else:
if uname.machine == "aarch64":
DEFAULT_ARCH = ""
Expand Down

0 comments on commit ea64e7b

Please sign in to comment.