mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
d62026add2
-print-libgcc-file-name rather than $(libdir)/libgcc.a.
5 lines
368 B
Plaintext
5 lines
368 B
Plaintext
# 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
|