From 05b71b6bc06e5dd811b0bbb06ea58a3946aa0d54 Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 18 Jan 2019 08:34:36 +0100 Subject: [PATCH] Get rid of the compiler warnings caused by LZMA SDK --- src/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Makefile b/src/Makefile index c08a9b75a..42f337994 100644 --- a/src/Makefile +++ b/src/Makefile @@ -180,6 +180,11 @@ CFLAGS += -Wall CFLAGS += -Wextra endif +## because LZMA SDK +ifeq ($(CC),clang) +CFLAGS += -Wno-enum-conversion +endif + ## is very annoying during refactor CFLAGS += -Wno-unused-variable CFLAGS += -Wno-unused-function