From 2cc6d1d75805e715d7a314bb27ccf6c306a1aaec Mon Sep 17 00:00:00 2001 From: Clownacy Date: Sat, 2 Nov 2019 20:17:21 +0000 Subject: [PATCH] Update warning option names in Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d80c6cba..0c9fd927 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ ifeq ($(WARNINGS), 1) CXXFLAGS += -Wall -Wextra -pedantic endif -ifeq ($(ALL_WARNINGS), 1) +ifeq ($(WARNINGS_ALL), 1) ifneq ($(findstring clang,$(CXX)),) # Use clang-specific flag -Weverything CXXFLAGS += -Weverything @@ -57,7 +57,7 @@ ifeq ($(ALL_WARNINGS), 1) endif endif -ifeq ($(FATAL_WARNINGS), 1) +ifeq ($(WARNINGS_FATAL), 1) CXXFLAGS += -Werror endif