diff --git a/common_settings.mk b/common_settings.mk index d548bb8..68912b1 100644 --- a/common_settings.mk +++ b/common_settings.mk @@ -25,6 +25,8 @@ this_plugin := $(lastword $(MAKEFILE_LIST)) CXX = g++ CPP_STANDARD = -std=c++14 -pthread CPP_QUALITY_CHECKS = -pedantic -pedantic-errors -Wall -Wextra +CPP_QUALITY_CHECKS += $(if $(filter clang,$(shell g++ --version)), \ + -Wno-c++17-extensions) CPP_OPTIMIZATIONS = -O3 -ffunction-sections -fdata-sections CPPFLAGS = $(CPP_STANDARD) $(CPP_QUALITY_CHECKS) $(CPP_OPTIMIZATIONS) CXXFLAGS := -isystem $(BOOST_DIR) \