aboutsummaryrefslogtreecommitdiff
path: root/ld/config
diff options
context:
space:
mode:
Diffstat (limited to 'ld/config')
-rw-r--r--ld/config/i386sco.mh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/config/i386sco.mh b/ld/config/i386sco.mh
index 2646840..bf1a282 100644
--- a/ld/config/i386sco.mh
+++ b/ld/config/i386sco.mh
@@ -1,4 +1,4 @@
# For testing, we want to use /lib/crt1.o and /lib/crtn.o so that
# constructors work properly.
-HOSTING_CRT0=/lib/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; fi`
-HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; fi` /lib/crtn.o
+HOSTING_CRT0=/lib/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtbegin.o/'; fi`
+HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtend.o/'; fi` /lib/crtn.o