dpatel 02/12/13 14:49:20
Modified: live/gcc3/gcc/config darwin.h
Log:
Use libgcc_static.a when -static is used.
Bug #: 3127145
Revision Changes Path
1.189 +6 -0 src/live/gcc3/gcc/config/darwin.h
Index: darwin.h
===================================================================
RCS file: /cvs/Darwin/src/live/gcc3/gcc/config/darwin.h,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -r1.188 -r1.189
--- darwin.h 2002/11/27 20:50:48 1.188
+++ darwin.h 2002/12/13 22:49:20 1.189
@@ -312,6 +312,12 @@
#undef LIB_SPEC
#define LIB_SPEC "%{!static:-lSystem}"
+/* APPLE LOCAL begin gcc_static */
+#undef LIBGCC_SPEC
+#define LIBGCC_SPEC "%{static:-lgcc_static} \
+ %{!static:-lgcc}"
+/* APPLE LOCAL end gcc_static */
+
/* We specify crt0.o as -lcrt0.o so that ld will search the library path. */
/* APPLE LOCAL begin flag translation */