components/stdcxx/patches/050-COLLAPSE_STATIC_LOCALS.cpp.patch
changeset 402 94ae4d75524c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/stdcxx/patches/050-COLLAPSE_STATIC_LOCALS.cpp.patch	Thu Jul 14 11:26:11 2011 -0700
@@ -0,0 +1,21 @@
+--- stdcxx-4.2.1/etc/config/src/COLLAPSE_STATIC_LOCALS.cpp	2008-04-24 20:25:44.000000000 -0400
++++ stdcxx-4.2.1/etc/config/src/COLLAPSE_STATIC_LOCALS.cpp	2009-07-25 15:27:12.129497000 -0400
+@@ -28,12 +28,11 @@
+ #  ifndef _RWSTD_NO_collapse_static_locals.lib
+ 
+      // link this compiled translation unit with the lib below
+-     // LDOPTS = collapse_static_locals.lib$(LIBSUFFIX)
++     // LDOPTS = -lcollapse_static_locals.lib
+ 
+ #  endif   // _RWSTD_NO_collapse_static_locals.lib
+ #endif   // 0
+ 
+-
+ // also defined in collapse_static_locals.lib.cpp
+ inline int foo ()
+ {
+@@ -56,3 +55,4 @@
+ 
+     return !(i != j);
+ }
++