Skip to content

Commit 4872158

Browse files
committed
Temporarily turn off string op overflow check
1 parent 2b4ad1e commit 4872158

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ports/raspberrypi/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ else
126126
endif
127127
endif
128128

129-
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
129+
# Remove -Wno-stringop-overflow after we can test with CI's GCC 10. Mac's looks weird.
130+
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
130131

131132
CFLAGS += $(INC) -Wall -Werror -std=gnu11 -nostdlib -fshort-enums $(BASE_CFLAGS) $(CFLAGS_MOD) $(COPT) $(DISABLE_WARNINGS)
132133

0 commit comments

Comments
 (0)