Skip to content

Commit

Permalink
GNUmakefile: set CC=clang on FreeBSD
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Noonan <[email protected]>
  • Loading branch information
tycho committed Jan 30, 2021
1 parent 84b7ffd commit 807e78a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ LDFLAGS += -pthread -lrt
endif

ifeq ($(uname_S),FreeBSD)
CC := clang
CFLAGS += -pthread
LDFLAGS += -pthread
endif
Expand Down

0 comments on commit 807e78a

Please sign in to comment.