소스 검색

Set USECLANG=1 by default on FreeBSD.

FreeBSD 10+ no longer ships with GCC by default. Clang is the default
system compiler.
Ed Schouten 10 년 전
부모
커밋
34d44ffadd
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      Make.inc

+ 5 - 0
Make.inc

@@ -20,6 +20,11 @@ USEGCC = 0
 USECLANG = 1
 endif
 
+ifeq ($(OS), FreeBSD)
+USEGCC = 0
+USECLANG = 1
+endif
+
 AR = ar
 
 ifeq ($(USECLANG),1)