projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f905fc0
)
(LIB_SPEC): Don't use absolute path names if cross compiling.
author
Doug Evans
<dje@gnu.org>
Wed, 29 Nov 1995 23:12:54 +0000
(23:12 +0000)
committer
Doug Evans
<dje@gnu.org>
Wed, 29 Nov 1995 23:12:54 +0000
(23:12 +0000)
From-SVN: r10633
gcc/config/svr3.h
patch
|
blob
|
history
diff --git
a/gcc/config/svr3.h
b/gcc/config/svr3.h
index fc6e262b7b51540d6fd5b0f61769b49b5aab69e1..be44ec71b15b3b150c9eda51d5f8d9202b8d905d 100644
(file)
--- 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. */