diff options
| -rwxr-xr-x | build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
