aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-26 16:13:24 -0400
committeriamcheeseman <[email protected]>2026-05-26 16:13:24 -0400
commit8816be54ee97cbcdc5e4936279989985c8221b21 (patch)
treec0316f197cf7cb1991af18e07f4d478f8728d824 /build.sh
parent2d64ec0a686173b084e02172bb77bd0ec3abdf1d (diff)
disable `-Woverride-init-side-effects`
Diffstat (limited to 'build.sh')
-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