build: use clang on FreeBSD

this avoids a whopping 500+Mb dependency on gcc and friends at runtime
This commit is contained in:
Dave Cottlehuber 2017-03-16 12:58:04 +01:00 committed by GitHub
parent 0daff26fba
commit 25dc596397

View File

@ -11,8 +11,8 @@ ifeq ($(OSTYPE),Linux)
endif
ifeq ($(OSTYPE),FreeBSD)
CC=gcc
CXX=g++
CC=clang
CXX=clang++
ZT_BUILD_PLATFORM=7
include make-bsd.mk
endif