diff --git a/arm9/Makefile b/arm9/Makefile index d2c9c3a..ccf663b 100644 --- a/arm9/Makefile +++ b/arm9/Makefile @@ -55,9 +55,10 @@ INCLUDES := include ARCH := -marm -march=armv5te -mtune=arm946e-s DEFINES := -DARM9 -D_3DS +FALSEPOSITIVES := -Wno-array-bounds -Wno-stringop-overflow -Wno-stringop-overread CFLAGS := -g -std=gnu11 -Wall -Wextra -Werror -O2 -mword-relocations \ -fomit-frame-pointer -ffunction-sections -fdata-sections \ - -Wno-main $(ARCH) $(DEFINES) + -Wno-main $(FALSEPOSITIVES) $(ARCH) $(DEFINES) CFLAGS += $(INCLUDE) diff --git a/k11_extension/Makefile b/k11_extension/Makefile index 8e179d1..fb8686c 100644 --- a/k11_extension/Makefile +++ b/k11_extension/Makefile @@ -28,9 +28,10 @@ INCLUDES := include include/svc ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft DEFINES := -DARM11 -D_3DS +FALSEPOSITIVES := -Wno-array-bounds -Wno-stringop-overflow -Wno-stringop-overread CFLAGS := -g -std=gnu11 -Wall -Wextra -Werror -O2 -mword-relocations \ -fomit-frame-pointer -ffunction-sections -fdata-sections \ - -Wno-main $(ARCH) $(DEFINES) + -Wno-main $(FALSEPOSITIVES) $(ARCH) $(DEFINES) CFLAGS += $(INCLUDE) diff --git a/sysmodules/rosalina/Makefile b/sysmodules/rosalina/Makefile index cf4ec44..d840c15 100644 --- a/sysmodules/rosalina/Makefile +++ b/sysmodules/rosalina/Makefile @@ -28,9 +28,10 @@ INCLUDES := include include/gdb include/menus include/redshift ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft DEFINES := -DARM11 -D_3DS +FALSEPOSITIVES := -Wno-array-bounds -Wno-stringop-overflow -Wno-stringop-overread CFLAGS := -g -std=gnu11 -Wall -Wextra -Werror -Wno-unused-value -Os -mword-relocations \ -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-math-errno \ - $(ARCH) $(DEFINES) + $(FALSEPOSITIVES) $(ARCH) $(DEFINES) CFLAGS += $(INCLUDE)