aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index c123671..907c070 100755
--- a/build.sh
+++ b/build.sh
@@ -5,8 +5,10 @@ set -e
source build.env
INC="-Iteensy -Iteensy/platform/$PLATFORM -Idc -Ieditor"
-CFLAGS="$INC -Wall -Wextra -std=c99 -D_XOPEN_SOURCE=700 -O2"
-LDFLAGS=-lm
+WARN="-Wall -Wextra -Wno-override-init-side-effects"
+# Dumb warning ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+# Absolutely dreadful.
+CFLAGS="$INC $WARN -std=c99 -D_XOPEN_SOURCE=700 -O2" LDFLAGS=-lm
DO_RUN=0