mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-17 03:55:59 +01:00
simplify g++ check
This commit is contained in:
parent
5d69bae19f
commit
848d510fae
@ -54,7 +54,7 @@ endif
|
|||||||
|
|
||||||
COMMONFLAGS += -Wno-unused-variable
|
COMMONFLAGS += -Wno-unused-variable
|
||||||
|
|
||||||
ifneq (, $(findstring($(CXX), $(filter $(CC),g++ gcc))))
|
ifneq (,$(findstring g++,$(CXX)))
|
||||||
COMMONFLAGS += -Wno-unused-but-set-variable
|
COMMONFLAGS += -Wno-unused-but-set-variable
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user