mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-15 11:36:54 +02:00
build: use clang on FreeBSD
this avoids a whopping 500+Mb dependency on gcc and friends at runtime
This commit is contained in:
parent
0daff26fba
commit
25dc596397
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue