]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/tools/compilationunits.sh
Enable -fdefault-eraseable
[xonotic/xonotic-data.pk3dir.git] / qcsrc / tools / compilationunits.sh
index e3d1eb01368df1c714c55d7264eda99e89ff8bbd..f39055bd28e2e349604cc1fe8db6f537efe4596a 100755 (executable)
@@ -38,11 +38,13 @@ QCCDEFS="${QCCDEFS[@]}"
 
 declare -a QCCFLAGS=(
     -std=gmqcc
-    -Wall -Werror
+    -Ooverlap-locals
+    -Werror
+    -Wall
     -futf8
-    -freturn-assignments
     -frelaxed-switch
-    -Ooverlap-locals
+    -freturn-assignments
+    -fdefault-eraseable
 )
 declare -a NOWARN=(
     -Wno-field-redeclared