]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Disable stupid clang warning.
[xonotic/gmqcc.git] / Makefile
index 38e0784a80aad89bc7f53cc3fdd41f9268b22244..bec603e5daf95db1d913fff4810e3883ec3980ae 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,7 @@ ifeq ($(CC), clang)
            -Wno-float-equal                   \
            -Wno-unknown-warning-option        \
            -Wno-cast-align                    \
+           -Wno-assign-enum                   \
            -pedantic-errors
 else
        ifneq ($(CC), g++)
@@ -40,7 +41,8 @@ endif
 
 # do this last otherwise there is whitespace in the command output and
 # it makes my OCD act up
-CFLAGS += $(OPTIONAL)
+CFLAGS += $(OPTIONAL_CFLAGS)
+LDFLAGS += $(OPTIONAL_LDFLAGS)
 
 #we have duplicate object files when dealing with creating a simple list
 #for dependinces. To combat this we use some clever recrusive-make to