3 # support for Mac OS X 10.4 (Tiger)
4 # By default, this uses the default compiler selected using gcc_select.
16 ifeq (,$(no_hidden_visibility))
17 # Disable symbol visibility support by default.
19 # Apple's g++ 4 compiler doesn't appear to correctly support
20 # visibility attributes, at least as well as the vanilla g++.
21 no_hidden_visibility = 1
32 #LIBS += -lstdc++.6 -lSystem -lSystemStubs
37 SOFLAGS += -dynamiclib
38 SOBUILD = -o $(VSHDIR)$*.dylib $<
40 # Test for template instantiation, add to SOFLAGS if versioned_so set,
41 # add -E to LDFLAGS if using GNU ld
42 ifeq ($(findstring g++,$(CXX)),)#
43 include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU
46 include $(ACE_ROOT)/include/makeinclude/platform_clang_common.GNU
49 LDFLAGS += -flat_namespace
52 CFLAGS += -arch i386 -arch ppc
53 LDFLAGS += -arch i386 -arch ppc