OSDN Git Service

* config/sh/elf.h (LIB_SPEC): Define.
[pf3gnuchains/gcc-fork.git] / gcc / config / sh / elf.h
index 633f6a8..15f106a 100644 (file)
@@ -86,6 +86,9 @@ along with GCC; see the file COPYING3.  If not see
 #define ENDFILE_SPEC \
   "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
 
+#undef LIB_SPEC
+#define LIB_SPEC "-lc"
+
 /* ASM_OUTPUT_CASE_LABEL is defined in elfos.h.  With it,
    a redundant .align was generated.  */
 #undef  ASM_OUTPUT_CASE_LABEL