mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 14:50:05 +00:00
Expose linking against libsupport as make dependency
This ensures that tests are rebuilt when libsupport changes.
This commit is contained in:
parent
d89060d603
commit
76dcbf42df
@ -1,3 +1,10 @@
|
||||
2016-12-13 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* Rules (binaries-shared-tests, binaries-pie-tests)
|
||||
(binaries-static-tests): Link with $(link-extra-libs-tests).
|
||||
* Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
|
||||
Remove $(link-extra-libs-tests).
|
||||
|
||||
2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/powerpc/powerpc64/multiarch/Makefile
|
||||
|
11
Makeconfig
11
Makeconfig
@ -415,8 +415,8 @@ $(+link-pie-before-libc) $(rtld-LDFLAGS) $(link-libc) $(+link-pie-after-libc)
|
||||
$(call after-link,$@)
|
||||
endef
|
||||
define +link-pie-tests
|
||||
$(+link-pie-before-libc) $(link-extra-libs-tests) \
|
||||
$(rtld-tests-LDFLAGS) $(link-libc-tests) $(+link-pie-after-libc)
|
||||
$(+link-pie-before-libc) $(rtld-tests-LDFLAGS) $(link-libc-tests) \
|
||||
$(+link-pie-after-libc)
|
||||
$(call after-link,$@)
|
||||
endef
|
||||
define +link-pie-printers-tests
|
||||
@ -442,8 +442,7 @@ $(+link-static-before-libc) $(link-libc-static) $(+link-static-after-libc)
|
||||
$(call after-link,$@)
|
||||
endef
|
||||
define +link-static-tests
|
||||
$(+link-static-before-libc) $(link-extra-libs-tests) \
|
||||
$(link-libc-static-tests) $(+link-static-after-libc)
|
||||
$(+link-static-before-libc) $(link-libc-static-tests) $(+link-static-after-libc)
|
||||
$(call after-link,$@)
|
||||
endef
|
||||
endif
|
||||
@ -472,8 +471,8 @@ $(+link-before-libc) $(rtld-LDFLAGS) $(link-libc) $(+link-after-libc)
|
||||
$(call after-link,$@)
|
||||
endef
|
||||
define +link-tests
|
||||
$(+link-before-libc) $(link-extra-libs-tests) \
|
||||
$(rtld-tests-LDFLAGS) $(link-libc-tests) $(+link-after-libc)
|
||||
$(+link-before-libc) $(rtld-tests-LDFLAGS) $(link-libc-tests) \
|
||||
$(+link-after-libc)
|
||||
$(call after-link,$@)
|
||||
endef
|
||||
define +link-printers-tests
|
||||
|
3
Rules
3
Rules
@ -189,6 +189,7 @@ endif
|
||||
|
||||
ifneq "$(strip $(binaries-shared-tests))" ""
|
||||
$(addprefix $(objpfx),$(binaries-shared-tests)): %: %.o \
|
||||
$(link-extra-libs-tests) \
|
||||
$(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
|
||||
$(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
|
||||
$(+link-tests)
|
||||
@ -196,6 +197,7 @@ endif
|
||||
|
||||
ifneq "$(strip $(binaries-pie-tests))" ""
|
||||
$(addprefix $(objpfx),$(binaries-pie-tests)): %: %.o \
|
||||
$(link-extra-libs-tests) \
|
||||
$(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
|
||||
$(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
|
||||
$(+link-pie-tests)
|
||||
@ -217,6 +219,7 @@ endif
|
||||
|
||||
ifneq "$(strip $(binaries-static-tests))" ""
|
||||
$(addprefix $(objpfx),$(binaries-static-tests)): %: %.o \
|
||||
$(link-extra-libs-tests) \
|
||||
$(sort $(filter $(common-objpfx)lib%,$(link-libc-static-tests))) \
|
||||
$(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
|
||||
$(+link-static-tests)
|
||||
|
Loading…
Reference in New Issue
Block a user