aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 556bb50..377a5e3 100755
--- a/build.sh
+++ b/build.sh
@@ -5,9 +5,9 @@ set -e
source build.env
INC="-Iteensy -Iteensy/platform/$PLATFORM -Idc -Ieditor"
-WARN="-Wall -Wextra -Wno-override-init-side-effects"
-# Dumb warning ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-# Absolutely dreadful.
+WARN="-Wall -Wextra -Werror -Wno-error=unused-variable"
+WARN="$WARN -Wno-error=unused-function -Wno-error=unused-parameter"
+WARN="$WARN -Wno-override-init-side-effects" # Dumb warning. Dreadful.
CFLAGS="$INC $WARN -std=c99 -D_XOPEN_SOURCE=700 -O2" LDFLAGS=-lm
DO_RUN=0