Set USECLANG=1 by default on FreeBSD.

FreeBSD 10+ no longer ships with GCC by default. Clang is the default
system compiler.
This commit is contained in:
Ed Schouten 2015-01-11 23:50:17 +01:00
parent 7e5585aaca
commit 34d44ffadd
1 changed files with 5 additions and 0 deletions

View File

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