]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Add expressions for builtins test
[xonotic/gmqcc.git] / Makefile
index b96168d49209314327533312f2062fa4dcbed186..ff63173cdba2aa975e43c7b066c4232ecb6700e3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ CC      ?= clang
 LDFLAGS :=
 LIBS    := -lm
 
-CFLAGS  += -Wall -Wextra -Werror -I. -fno-strict-aliasing -fsigned-char $(OPTIONAL)
+CFLAGS  += -Wall -Wextra -Werror -I. -fno-strict-aliasing $(OPTIONAL)
 ifneq ($(shell git describe --always 2>/dev/null),)
     CFLAGS += -DGMQCC_GITINFO="\"$(shell git describe --always)\""
 endif
@@ -29,7 +29,6 @@ ifeq ($(CC), clang)
            -Wno-conversion                    \
            -Wno-missing-prototypes            \
            -Wno-float-equal                   \
-           -Wno-missing-variable-declarations \
            -Wno-unknown-warning-option
 else
        #Tiny C Compiler doesn't know what -pedantic-errors is
@@ -75,12 +74,6 @@ ifneq ("$(MINGW)", "")
        TESTSUITE = testsuite.exe
        PAK       = pak.exe
 else
-       #arm support for linux .. we need to allow unaligned accesses
-       #to memory otherwise we just segfault everywhere
-       ifneq (, $(findstring arm, $(shell uname -m)))
-               CFLAGS += -munaligned-access
-       endif
-
        QCVM      = qcvm
        GMQCC     = gmqcc
        TESTSUITE = testsuite