stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r368450 - /incubator/stdcxx/trunk/etc/config/gcc.config
Date Thu, 12 Jan 2006 19:48:49 GMT
Author: sebor
Date: Thu Jan 12 11:48:44 2006
New Revision: 368450

URL: http://svn.apache.org/viewcvs?rev=368450&view=rev
Log:
2006-01-12  Martin Sebor  <sebor@roguewave.com>

	STDCXX-113
	* gcc.config (LDLIBS) [Darwin]: Added -lgcc_eh.

Modified:
    incubator/stdcxx/trunk/etc/config/gcc.config

Modified: incubator/stdcxx/trunk/etc/config/gcc.config
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/etc/config/gcc.config?rev=368450&r1=368449&r2=368450&view=diff
==============================================================================
--- incubator/stdcxx/trunk/etc/config/gcc.config (original)
+++ incubator/stdcxx/trunk/etc/config/gcc.config Thu Jan 12 11:48:44 2006
@@ -114,7 +114,13 @@
   # gcc 3.x needs to explicitly link with libsupc++ for language support
   # g++ 3.x links with it as well as libstdc++ automatically
   LDLIBS = -lsupc++
-endif
+
+  ifeq ($(OSNAME),Darwin)
+    # link with gcc_eh to resolve the _Unwind_xxx functions
+    # (shouldn't we link with it on all platforms?)
+    LDLIBS += -lgcc_eh
+  endif
+endif   # gcc > 2
 
 # debug/optimization options
 DEBUG_CXXFLAGS  = -g



Mime
View raw message