Description: Patch makefile not to set CXX if set already
 This prevents to externally set the compiler, and with clang as
 default, we FTBFS with dh_dwz.
Author: Tobias Frost <tobi@debian.rg>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016935
Forwarded: not-needed, Debian specific
Last-Update: 2022-09-02 <YYYY-MM-DD, last update of the meta-information, optional>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/source/src/Makefile
+++ b/source/src/Makefile
@@ -6,7 +6,7 @@
 # found to have been caused by the g++ compiler in the past. This seems to have
 # been fixed now by relaxing the optimization that g++ does, so although we'll
 # continue using clang++ (just in case), you can use g++ if you prefer.
-CXX=clang++
+CXX?=clang++
 
 # call like 'DEBUGBUILD=1 make' to compile a debug version of AssaultCube.
 ifdef DEBUGBUILD
