Auto merge of #2820 - str4d:darwin-build-patches, r=str4d
[macOS] Darwin build patches Part of #2246.
This commit is contained in:
@@ -141,7 +141,10 @@ ifeq ($(PROFILE_OP_COUNTS),1)
|
||||
endif
|
||||
|
||||
ifeq ($(STATIC),1)
|
||||
CXXFLAGS += -static -DSTATIC
|
||||
ifneq ($(PLATFORM),darwin)
|
||||
CXXFLAGS += -static
|
||||
endif
|
||||
CXXFLAGS += -DSTATIC
|
||||
else
|
||||
CXXFLAGS += -fPIC
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user