diff --git a/Makefile b/Makefile index 35f2d9fad2..8e6f9a7aca 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,10 @@ endif include Makefile.common +ifeq ($(shell $(CC) -v 2>&1 | grep -c "clang"),1) + DEFINES += -Wno-invalid-source-encoding +endif + HEADERS = $(wildcard */*/*.h) $(wildcard */*.h) $(wildcard *.h) ifeq ($(HAVE_DYLIB), 1)