Revision: 1444
http://svn.sourceforge.net/complement/?rev=1444&view=rev
Author: complement
Date: 2006-12-13 01:41:52 -0800 (Wed, 13 Dec 2006)
Log Message:
-----------
-fvisibilty=hidden require code preparation
Modified Paths:
--------------
trunk/complement/explore/Makefiles/gmake/gcc.mak
Modified: trunk/complement/explore/Makefiles/gmake/gcc.mak
===================================================================
--- trunk/complement/explore/Makefiles/gmake/gcc.mak 2006-12-12 08:22:57 UTC (rev 1443)
+++ trunk/complement/explore/Makefiles/gmake/gcc.mak 2006-12-13 09:41:52 UTC (rev 1444)
@@ -160,9 +160,25 @@
# Required for correct order of static objects dtors calls:
ifneq ($(OSNAME),cygming)
+ifneq ($(OSNAME),windows)
+ifneq ($(OSNAME),darwin)
+ifneq ($(CXX_VERSION_MAJOR),2)
CXXFLAGS += -fuse-cxa-atexit
endif
+endif
+endif
+endif
+# Code should be ready for this option
+#ifneq ($(OSNAME),windows)
+#ifneq ($(CXX_VERSION_MAJOR),2)
+#ifneq ($(CXX_VERSION_MAJOR),3)
+#CXXFLAGS += -fvisibility=hidden
+#CFLAGS += -fvisibility=hidden
+#endif
+#endif
+#endif
+
ifdef EXTRA_CXXFLAGS
CXXFLAGS += ${EXTRA_CXXFLAGS}
endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|