Change the overridden Makefile variable name to CXX for C++ engines (#99)

Also update Winter's compiler support since it currently fails to build on some g++ versions
This commit is contained in:
mhouppin authored and GitHub committed 2022-09-06 05:49:50 -04:00
1 parent b4b6302c58
commit 7825d70ed8
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -228,8 +228,8 @@ def unzip_delete_file(source, outdir):
def make_command(arguments, engine, src_path, network_path):
command = 'make CC=%s EXE=%s -j%s' % (
COMPILERS[engine], engine, arguments.threads)
command = 'make %s=%s EXE=%s -j%s' % (
['CC', 'CXX']['++' in COMPILERS[engine]], COMPILERS[engine], engine, arguments.threads)
if engine in CUSTOM_SETTINGS:
command += ' '.join(CUSTOM_SETTINGS[engine])