simplify g++ check

This commit is contained in:
Alex Fabijanic 2017-06-27 12:59:06 +02:00
parent 5d69bae19f
commit 848d510fae

View File

@ -54,7 +54,7 @@ endif
COMMONFLAGS += -Wno-unused-variable
ifneq (, $(findstring($(CXX), $(filter $(CC),g++ gcc))))
ifneq (,$(findstring g++,$(CXX)))
COMMONFLAGS += -Wno-unused-but-set-variable
endif