]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
workaround for broken win32 gcc 4.4.x
authorRudolf Polzer <divVerent@xonotic.org>
Sat, 13 Nov 2010 21:58:26 +0000 (22:58 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Sat, 13 Nov 2010 21:58:26 +0000 (22:58 +0100)
all

diff --git a/all b/all
index 93edeb54da7feda71f7ad559162d4f2c78481f74..ec4ad52e74f475be21ed748f50b1e9796b68335d 100755 (executable)
--- a/all
+++ b/all
@@ -801,6 +801,9 @@ case "$cmd" in
                                -r)
                                        debug=release
                                        export CC="$CC -g -mtune=native -march=native"
+                                       if [ -n "$WE_HATE_OUR_USERS" ]; then
+                                               export CC="$CC -fno-common"
+                                       fi
                                        shift
                                        ;;
                                *)