mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-23 15:01:03 +03:00
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: New file. * sysdeps/unix/sysv/linux/sparc/Makefile ($(objpfx)specs): Use full path for crt[in].o.
12 lines
424 B
Makefile
12 lines
424 B
Makefile
ifeq ($(subdir),linuxthreads)
|
|
# gcc has /usr/lib{,64}/crti.o hardcoded in the specs file, because otherwise
|
|
# it would normally find {64,32}bit crt[in].o.
|
|
LDFLAGS-pthread.so += -specs=$(objpfx)specs
|
|
before-compile += $(objpfx)specs
|
|
generated += specs
|
|
$(objpfx)specs:
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) -dumpspecs \
|
|
| sed 's~\(/usr/lib\(\|64\)/\|^\|\([^/a-z]\)\)\(crt[in]\.o\)~\3'$(objpfx)'\4~g' > $@.new
|
|
mv -f $@.new $@
|
|
endif
|