Actually properly fix the Makefile
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
b4bde54118
commit
2706480645
1 changed files with 3 additions and 2 deletions
5
Makefile
5
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue