summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-06-16 17:29:04 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-06-16 17:29:04 -0400
commit8165662446043d4966b745a93aa7cfe7b175434c (patch)
treec41913e6e3670e0400a3d7ae92f7860a1b178140
parent7fe14e944847997ecca9b86542cf26491d52f64e (diff)
Silence stringop-overflow warnings from gcc-11
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f108ff1e4..9f853b8e2 100644
--- a/Makefile
+++ b/Makefile
@@ -90,7 +90,7 @@ ifeq ($(MODERN),0)
CPPFLAGS += -I tools/agbcc/include -nostdinc -undef
CC1FLAGS := -mthumb-interwork -Wimplicit -Wparentheses -Wunused -Werror -O2 -fhex-asm
else
-CC1FLAGS := -mthumb -mthumb-interwork -mabi=apcs-gnu -mcpu=arm7tdmi -O2 -fno-toplevel-reorder -fno-aggressive-loop-optimizations -Wno-pointer-to-int-cast
+CC1FLAGS := -mthumb -mthumb-interwork -mabi=apcs-gnu -mcpu=arm7tdmi -O2 -fno-toplevel-reorder -fno-aggressive-loop-optimizations -Wno-pointer-to-int-cast -Wno-stringop-overflow
endif
ifneq (,$(DINFO))