]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
CC=gcc fix for mingw32
[xonotic/xonotic.git] / all
diff --git a/all b/all
index 40ba27bed6211c8a777a36358d4c24353859678a..b8e59d63cfa8d39f5b70eb6510596092c3b225d7 100755 (executable)
--- a/all
+++ b/all
@@ -433,6 +433,9 @@ case "$cmd" in
        compile)
                if [ -n "$WE_HATE_OUR_USERS" ]; then
                        TARGETS="sv-debug cl-debug"
+                       if [ -z "$CC" ]; then
+                               export CC=gcc
+                       fi
                else
                        TARGETS="sv-debug cl-debug sdl-debug"
                fi