diff --git a/src/Makefile b/src/Makefile index 123ef1d8..1d1bc0e0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -95,7 +95,7 @@ CXXFLAGS += -pedantic -std=c++17 -g -Wall -Wextra -Wno-unused-parameter -Wno-sig compiler := $(shell $(CXX) --version) ifneq (,$(findstring clang,$(compiler))) CXXFLAGS += -frelaxed-template-template-args -else ifneq (,$(findstring GCC,$(compiler))) +else ifneq (,$(findstring g++,$(compiler))) CXXFLAGS += -Wno-init-list-lifetime endif