From 299921118dcf283d6b9b8872bfb765af0c074d2c Mon Sep 17 00:00:00 2001 From: Eukara Date: Sun, 11 Aug 2019 23:35:23 +0000 Subject: [PATCH] Use CC=cc on BSD systems. On OpenBSD that'll use clang which produces more stable results than its version of gcc. For example release builds will break on Quake 3 Arena when playing with bots. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5511 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/Makefile b/engine/Makefile index bcb30b84..04f76722 100644 --- a/engine/Makefile +++ b/engine/Makefile @@ -1347,7 +1347,8 @@ endif ifeq ($(FTE_TARGET),bsd) #mostly uses the linux stuff. #oss, X, etc. - + CC=cc + CXX=c++ SV_DIR=sv_bsd SV_EXE_NAME=../$(EXE_NAME)-sv$(BITS) SV_LDFLAGS=-lpthread