mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
Fix build of test cases on GNU Hurd that are statically linked.
This commit is contained in:
parent
d0d4f8689d
commit
7402596be7
@ -1,5 +1,8 @@
|
|||||||
2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
|
2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
|
||||||
|
variable.
|
||||||
|
|
||||||
* elf/dl-support.c: Unconditionally include "setup-vdso.h".
|
* elf/dl-support.c: Unconditionally include "setup-vdso.h".
|
||||||
|
|
||||||
* sysdeps/mach/hurd/powerpc: Remove directory.
|
* sysdeps/mach/hurd/powerpc: Remove directory.
|
||||||
|
@ -167,11 +167,15 @@ $(objpfx)librtld.map: $(rpcuserlibs:.so=_pic.a)
|
|||||||
CFLAGS-dl-load.c = -DEXTERNAL_MAP_FROM_FD
|
CFLAGS-dl-load.c = -DEXTERNAL_MAP_FROM_FD
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# We need these libs to link static programs in the libc source tree, too.
|
# Override the generic Makeconfig values so we link against the RPC libs.
|
||||||
link-libc-static := -Wl,-\( \
|
link-libc-static := -Wl,--start-group \
|
||||||
$(patsubst %,$(common-objpfx)%.a,\
|
$(patsubst %,$(common-objpfx)%.a,\
|
||||||
libc mach/libmachuser hurd/libhurduser) \
|
libc mach/libmachuser hurd/libhurduser) \
|
||||||
$(static-gnulib) -Wl,-\)
|
$(static-gnulib) -Wl,--end-group
|
||||||
|
link-libc-static-tests := -Wl,--start-group \
|
||||||
|
$(patsubst %,$(common-objpfx)%.a,\
|
||||||
|
libc mach/libmachuser hurd/libhurduser) \
|
||||||
|
$(static-gnulib-tests) -Wl,--end-group
|
||||||
|
|
||||||
ifeq ($(subdir),csu)
|
ifeq ($(subdir),csu)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user