mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 04:50:07 +00:00
Track dependencies for .oS-only objects
This commit is contained in:
parent
656416c965
commit
5bd66283db
@ -1,5 +1,10 @@
|
||||
2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* Makerules (+depfiles): Also collect depfiles from .oS in
|
||||
$(extra-objs).
|
||||
* sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
|
||||
.oS, $(libnldbl-routines)).
|
||||
|
||||
* Makerules (native-compile-mkdep-flags): Define.
|
||||
* sunrpc/Makefile (extra-objs): Add $(addprefix
|
||||
cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
|
||||
|
@ -647,6 +647,7 @@ endif
|
||||
|
||||
+depfiles := $(sources:.c=.d) \
|
||||
$(patsubst %.o,%.d,$(filter %.o,$(extra-objs:.os=.o))) \
|
||||
$(patsubst %.oS,%.d,$(filter %.oS,$(extra-objs))) \
|
||||
$(patsubst %.o,%.d,$(filter %.o,$(extra-test-objs:.os=.o))) \
|
||||
$(addsuffix .d,$(tests) $(xtests) $(test-srcs))
|
||||
ifeq ($(build-programs),yes)
|
||||
|
@ -44,5 +44,6 @@ libnldbl-calls = asprintf dprintf fprintf fscanf fwprintf fwscanf iovfscanf \
|
||||
libnldbl-routines = $(libnldbl-calls:%=nldbl-%)
|
||||
libnldbl-inhibit-o = $(object-suffixes)
|
||||
libnldbl-static-only-routines = $(libnldbl-routines)
|
||||
extra-objs += $(addsuffix .oS, $(libnldbl-routines))
|
||||
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user