1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-22 23:28:09 +00:00

Support building on OpenBSD, x86-64 (#207)

* Support building on OpenBSD, x86-64

* Clean up OpenBSD Makefile

* Add OpenBSD to cmake build

* Use clang as CC for OpenBSD

Co-authored-by: Alex Segura <alex@lispm.dev>
This commit is contained in:
Alex Segura
2021-01-11 18:10:57 -07:00
committed by GitHub
parent fa13cc964c
commit 68d7908ee6
4 changed files with 59 additions and 1 deletions

View File

@@ -66,6 +66,11 @@ ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
"-DFREEBSD"
"-DNOFORN"
)
ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
LIST(APPEND MAIKO_DEFINITIONS
"-DOPENBSD"
"-DNOFORN"
)
ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
LIST(APPEND MAIKO_DEFINITIONS
"-DAIX" # This is temporary