diff options
author | Doug Evans <dje@gnu.org> | 1995-11-29 23:12:54 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1995-11-29 23:12:54 +0000 |
commit | cf78f929ca3e675f4ededf7f26c1e672460b3dc1 (patch) | |
tree | 8f1e93364a19cbda5f3854140cd7c18abf2eb257 /gcc | |
parent | f905fc0dc309950a442822709e89d7148f879ad9 (diff) | |
download | gcc-cf78f929ca3e675f4ededf7f26c1e672460b3dc1.zip gcc-cf78f929ca3e675f4ededf7f26c1e672460b3dc1.tar.gz gcc-cf78f929ca3e675f4ededf7f26c1e672460b3dc1.tar.bz2 |
(LIB_SPEC): Don't use absolute path names if cross compiling.
From-SVN: r10633
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/svr3.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/svr3.h b/gcc/config/svr3.h index fc6e262..be44ec7 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. */ |