ref: 270648064548e18fbc1e56601d78ebd234363a18
parent: b4bde541181d51c02ebc359c1089d2d4e7e4790b
author: Gabriel Ravier <gabravier@gmail.com>
date: Fri Nov 1 11:53:23 EDT 2019
Actually properly fix the Makefile Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
--- a/Makefile
+++ b/Makefile
@@ -48,11 +48,12 @@
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
--
⑨