From: Doug Evans Date: Wed, 29 Nov 1995 23:12:54 +0000 (+0000) Subject: (LIB_SPEC): Don't use absolute path names if cross compiling. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf78f929ca3e675f4ededf7f26c1e672460b3dc1;p=gcc.git (LIB_SPEC): Don't use absolute path names if cross compiling. From-SVN: r10633 --- diff --git a/gcc/config/svr3.h b/gcc/config/svr3.h index fc6e262b7b5..be44ec71b15 100644 --- a/gcc/config/svr3.h +++ b/gcc/config/svr3.h @@ -103,7 +103,11 @@ Boston, MA 02111-1307, USA. #define STARTFILE_SPEC \ "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}" +#ifdef CROSS_COMPILE +#define LIB_SPEC "-lc crtn.o%s" +#else #define LIB_SPEC "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} -lc crtn.o%s" +#endif /* Special flags for the linker. I don't know what they do. */