From 270648064548e18fbc1e56601d78ebd234363a18 Mon Sep 17 00:00:00 2001 From: Gabriel Ravier Date: Fri, 1 Nov 2019 15:53:23 +0100 Subject: [PATCH] Actually properly fix the Makefile Signed-off-by: Gabriel Ravier --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b1062cd1..d80c6cba 100644 --- a/Makefile +++ b/Makefile @@ -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