From a88d09ed0b679eac6f8c693f27cca6ff5ee0412b Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Mon, 21 Oct 2024 13:30:18 -0700 Subject: [PATCH] Hopefully fix cross compilation --- assets/update_assets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/update_assets.py b/assets/update_assets.py index 28107fc..16cfabb 100755 --- a/assets/update_assets.py +++ b/assets/update_assets.py @@ -51,7 +51,7 @@ def add_license(input: str, output: str): add_basic(input, LICENSE) def compile_program(file: str, output: str): print("Compiling file '%s' to '%s'" % (path.abspath(file), path.abspath(output))) - subprocess.call([os.environ.get("CXX", "c++"), file, "-o", output]) + subprocess.call(["c++", file, "-o", output]) def add_css(file: str, output: str): CSS_FILE = output + ".h" print("Adding CSS file '%s' (C identifier '%s') from file '%s'" % (file, output, CSS_FILE))