mirror of
https://github.com/pocoproject/poco.git
synced 2025-07-03 17:17:12 +02: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…
x
Reference in New Issue
Block a user