Browse Source

build: use clang on FreeBSD

this avoids a whopping 500+Mb dependency on gcc and friends at runtime
Dave Cottlehuber 8 years ago
parent
commit
25dc596397
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Makefile

+ 2 - 2
Makefile

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