Pass -fwrapv to GCC compilation flags

This commit is contained in:
Gustaf Alhäll 2023-11-01 18:30:37 +01:00
parent dfd05c6172
commit ede41c474b
No known key found for this signature in database
GPG key ID: 6C1F67D690CDEDFD

View file

@ -160,6 +160,10 @@ opts+=-O0
endif
endif
ifdef GCC45
opts+=-fwrapv
endif
ifdef VALGRIND
ifdef GCC46
WFLAGS+=-Wno-error=unused-but-set-variable