mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Use --{start,end}-group to handle circular dependency between libgcc.a and libc.a.
This commit is contained in:
parent
018b9e368d
commit
b9af13014f
@ -1,3 +1,8 @@
|
||||
2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||
|
||||
* Makeconfig (link-libc-static): Use --{start,end}-group to handle
|
||||
circular dependency between libgcc.a and libc.a.
|
||||
|
||||
2011-05-05 Andreas Schwab <schwab@redhat.com>
|
||||
|
||||
* resolv/netdb.h: Don't include <rpc/netdb.h>.
|
||||
|
@ -531,7 +531,7 @@ endif
|
||||
|
||||
# The static libraries.
|
||||
ifeq (yes,$(build-static))
|
||||
link-libc-static = $(common-objpfx)libc.a $(static-gnulib) $(common-objpfx)libc.a
|
||||
link-libc-static = -Wl,--start-group $(common-objpfx)libc.a $(static-gnulib) -Wl,--end-group
|
||||
else
|
||||
ifeq (yes,$(build-shared))
|
||||
# We can try to link the programs with lib*_pic.a...
|
||||
|
Loading…
Reference in New Issue
Block a user