Explorar o código

build: use clang on FreeBSD

this avoids a whopping 500+Mb dependency on gcc and friends at runtime
Dave Cottlehuber %!s(int64=8) %!d(string=hai) anos
pai
achega
25dc596397
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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