Actually properly fix the Makefile

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2019-11-01 15:53:23 +01:00
parent b4bde54118
commit 2706480645

View file

@ -48,11 +48,12 @@ ifeq ($(WARNINGS), 1)
endif
ifeq ($(ALL_WARNINGS), 1)
ifneq ($(findstring clang,$(CXX),))
ifneq ($(findstring clang,$(CXX)),)
# Use clang-specific flag -Weverything
CXXFLAGS += -Weverything
else
@echo Couldn\'t activate all warnings (Unsupported compiler)
# This is indented with spaces because otherwise it doesn't compile (make doesn't like tabs there for some reason)
$(warning Couldn\'t activate all warnings (Unsupported compiler))
endif
endif