CC=gcc fix for mingw32
authorRudolf Polzer <divverent@alientrap.org>
Fri, 4 Jun 2010 18:40:49 +0000 (20:40 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 4 Jun 2010 18:40:49 +0000 (20:40 +0200)
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