From 8d044fa07f8ae6c5a2ebd9fbf32075297c1304e2 Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 26 Jan 2023 12:27:14 +0000 Subject: [PATCH] Use -Wno-format-overflow cflags for unrar sources on non-clang compiler --- src/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile b/src/Makefile index d59a69c5c..04c1f7a0b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -216,6 +216,7 @@ ifeq ($(USE_SYSTEM_UNRAR),0) ifneq ($(CC),clang) CFLAGS_UNRAR += -Wno-class-memaccess CFLAGS_UNRAR += -Wno-misleading-indentation +CFLAGS_UNRAR += -Wno-format-overflow endif CFLAGS_UNRAR += -Wno-missing-braces CFLAGS_UNRAR += -Wno-unused-variable