mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-12 14:59:19 +01:00
fix clang warning
This commit is contained in:
parent
1f27dcf5c0
commit
4b4adb4459
@ -52,7 +52,11 @@ ifdef POCO_UNBUNDLED
|
|||||||
SYSLIBS += -lz -lpcre
|
SYSLIBS += -lz -lpcre
|
||||||
endif
|
endif
|
||||||
|
|
||||||
COMMONFLAGS += -Wno-unused-variable -Wno-unused-but-set-variable
|
COMMONFLAGS += -Wno-unused-variable
|
||||||
|
|
||||||
|
ifneq (, $(findstring($(CXX), $(filter $(CC),g++ gcc))))
|
||||||
|
COMMONFLAGS += -Wno-unused-but-set-variable
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(LINKMODE),SHARED)
|
ifeq ($(LINKMODE),SHARED)
|
||||||
SHAREDOPT_LINK += -Wl,-rpath,$(BINPATH)
|
SHAREDOPT_LINK += -Wl,-rpath,$(BINPATH)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user