summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2021-01-20 18:25:01 -0800
committerScott Shawcroft <scott@tannewt.org>2021-01-20 19:16:56 -0800
commit48721584f95ec881ca62ace00b02323d9c38096c (patch)
tree1cf91dedb4e9f7e6f66843f06052100772f90a72
parent2b4ad1ed0399dc77632bf7dca61b269517320ad9 (diff)
Temporarily turn off string op overflow check
-rw-r--r--ports/raspberrypi/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/raspberrypi/Makefile b/ports/raspberrypi/Makefile
index 69bd592c2..a604acb47 100644
--- a/ports/raspberrypi/Makefile
+++ b/ports/raspberrypi/Makefile
@@ -126,7 +126,8 @@ else
endif
endif
-DISABLE_WARNINGS = -Wno-unused-function -Wno-unused-variable -Wno-strict-overflow -Wno-cast-align -Wno-strict-prototypes -Wno-nested-externs -Wno-double-promotion -Wno-sign-compare
+# Remove -Wno-stringop-overflow after we can test with CI's GCC 10. Mac's looks weird.
+DISABLE_WARNINGS = -Wno-stringop-overflow -Wno-unused-function -Wno-unused-variable -Wno-strict-overflow -Wno-cast-align -Wno-strict-prototypes -Wno-nested-externs -Wno-double-promotion -Wno-sign-compare
CFLAGS += $(INC) -Wall -Werror -std=gnu11 -nostdlib -fshort-enums $(BASE_CFLAGS) $(CFLAGS_MOD) $(COPT) $(DISABLE_WARNINGS)