]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Don't allocate globals for constants that aren't read
[xonotic/gmqcc.git] / Makefile
index 7697cfc7c8f793daf25037348731587580e4fc4f..530bd4cd4ea42249b3315b14951ec65724b3e56a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,9 @@ ifeq ($(CC), clang)
            -Wno-unknown-warning-option        \
            -Wno-cast-align                    \
            -Wno-assign-enum                   \
-           -pedantic-errors                   \
-           -fsanitize=address -fno-omit-frame-pointer
+           -Wno-empty-body                    \
+           -Wno-date-time                     \
+           -pedantic-errors
 else
        ifneq ($(CC), g++)
                CFLAGS += -Wmissing-prototypes -Wstrict-prototypes
@@ -42,7 +43,7 @@ endif
 # do this last otherwise there is whitespace in the command output and
 # it makes my OCD act up
 CFLAGS += $(OPTIONAL_CFLAGS)
-LDFLAGS += $(OPTIONAL_LDFLAGS) -fsanitize=address -fno-omit-frame-pointer
+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