瀏覽代碼

build: use clang on FreeBSD

this avoids a whopping 500+Mb dependency on gcc and friends at runtime
Dave Cottlehuber 8 年之前
父節點
當前提交
25dc596397
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Makefile

+ 2 - 2
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