Skip to content

Commit

Permalink
use clang on FreeBSD and OpenBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
chqrlie committed Mar 3, 2024
1 parent 3b18e06 commit c49a2c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ endif
ifeq ($(shell uname -s),FreeBSD)
CONFIG_FREEBSD=y
endif
ifeq ($(shell uname -s),OpenBSD)
CONFIG_OPENBSD=y
CONFIG_CLANG=y
endif
ifeq ($(shell uname -s),NetBSD)
CONFIG_NETBSD=y
CONFIG_CLANG=y
endif
# Windows cross compilation from Linux
#CONFIG_WIN32=y
# use link time optimization (smaller and faster executables but slower build)
Expand Down

0 comments on commit c49a2c3

Please sign in to comment.