Skip to content

Commit 9e694b2

Browse files
committed
Fixed --fvisibility=hidden issues for MacOS
1 parent 85db63d commit 9e694b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

make/tools.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ else ifeq ($(PLATFORM),Windows)
109109
else ifeq ($(PLATFORM),MacOS)
110110
FLAG_RELRO =
111111
FLAG_GC_SECTIONS =
112+
NOARCH_CXXFLAGS += -std=c++0x
113+
NOARCH_LDFLAGS += -keep_private_externs
112114
else ifeq ($(PLATFORM),BSD)
113115
NOARCH_EXE_FLAGS += -L/usr/local/lib
114116
NOARCH_SO_FLAGS += -L/usr/local/lib

0 commit comments

Comments
 (0)