From 34d44ffadd4e306cd729a08f7b1eae8b4e7043f6 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 11 Jan 2015 23:50:17 +0100 Subject: [PATCH] Set USECLANG=1 by default on FreeBSD. FreeBSD 10+ no longer ships with GCC by default. Clang is the default system compiler. --- Make.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Make.inc b/Make.inc index 0bd71a4..f240b5c 100644 --- a/Make.inc +++ b/Make.inc @@ -20,6 +20,11 @@ USEGCC = 0 USECLANG = 1 endif +ifeq ($(OS), FreeBSD) +USEGCC = 0 +USECLANG = 1 +endif + AR = ar ifeq ($(USECLANG),1)