proper pass fwrapv to gcc

This commit is contained in:
Alug committed 2024-08-04 13:01:45 +02:00
1 parent 4d5b993490
commit 43dfab7974
2 files changed
+1 -4

No files matched your search

+1 -1
View File
@@ -286,7 +286,7 @@ else
$(OBJDIR)/hw_md2load.o $(OBJDIR)/hw_md3load.o $(OBJDIR)/hw_model.o $(OBJDIR)/u_list.o $(OBJDIR)/hw_batching.o $(OBJDIR)/hw_shaders.o
endif
OPTS += -DCOMPVERSION
OPTS += -DCOMPVERSION -fwrapv
ifndef NONX86
ifndef GCC29
-3
View File
@@ -445,9 +445,6 @@ endif
ifdef GCC44
WFLAGS+=-Wno-error=array-bounds
endif
ifdef GCC45
opts+=-fwrapv
endif
ifdef GCC46
WFLAGS+=-Wno-error=suggest-attribute=noreturn
endif