mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-13 06:40:09 +00:00
c5e341eec9
* sysdeps/unix/sysv/linux/x86_64/Makefile ($(objpfx)specs): Massage crtn.o pathname too.
13 lines
464 B
Makefile
13 lines
464 B
Makefile
ifeq ($(subdir),linuxthreads)
|
|
CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions -fno-asynchronous-unwind-tables
|
|
# gcc -m64 has /usr/lib64/crti.o hardcoded in the specs file, because otherwise
|
|
# it would normally find 32bit crti.o.
|
|
LDFLAGS-pthread.so += -specs=$(objpfx)specs
|
|
before-compile += $(objpfx)specs
|
|
generated += specs
|
|
$(objpfx)specs:
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) -dumpspecs \
|
|
| sed 's,/usr/lib64/\(crt[in]\.o\),\1,g' > $@.new
|
|
mv -f $@.new $@
|
|
endif
|