add -Wno-array-bounds

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
Laurent Vivier
2025-08-13 17:36:08 +02:00
parent 1dcbdde9a9
commit d9b3b67692
3 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -5,7 +5,8 @@
TOP = $(shell pwd)
68000FLAGS = -m68000 -Wa,-m68000
CFLAGS += -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -fpic -O2 -Os
CFLAGS += -nostdlib -nodefaultlibs -Wall -Werror -Wno-array-bounds \
-Wno-multichar -fpic -O2 -Os
CPPFLAGS = -I$(TOP) -DARCH_M68K
LIBRARY = libmacos.a
+2 -1
View File
@@ -4,7 +4,8 @@
TOP=$(shell pwd)
68000FLAGS = -m68000 -Wa,-m68000
CFLAGS += -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -fpic -O2 -Os
CFLAGS += -nostdlib -nodefaultlibs -Wall -Werror -Wno-array-bounds \
-Wno-multichar -fpic -O2 -Os
CPPFLAGS = -I$(TOP)/../libmacos -DARCH_M68K
LIBRARY = libscsi.a
+3 -1
View File
@@ -15,7 +15,9 @@ CPPFLAGS = -DVERSION="\"$(VERSION)\"" -I$(TOP) -Wa,-I$(TOP) \
-I$(TOP)/../libstream -I$(TOP)/../libui -I$(TOP)/../libconfig
# -O2 is needed to be able to inline functions from libmacos
CFLAGS = $(OPT_CFLAGS) -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -fpic -O2
CFLAGS = $(OPT_CFLAGS) -nostdlib -nodefaultlibs -Wall -Werror \
-Wno-array-bounds -Wno-stringop-truncation -Wno-multichar -fpic \
-O2
ASFLAGS =
LIBS = $(OPT_LIBS) \
-L$(TOP)/../libiso9660/m68k-linux -liso9660 \