diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2011-05-05 15:35:46 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2011-05-05 15:37:07 -0700 |
commit | b9af13014f3a45e26bff5b554b08979cb89b68a9 (patch) | |
tree | da97aeac35cbf337024950c24da26eb358c4542f /Makeconfig | |
parent | 018b9e368d5c0ae76a6df02ba5ebaeac97363570 (diff) | |
download | glibc-b9af13014f3a45e26bff5b554b08979cb89b68a9.tar.gz glibc-b9af13014f3a45e26bff5b554b08979cb89b68a9.tar.xz glibc-b9af13014f3a45e26bff5b554b08979cb89b68a9.zip |
Use --{start,end}-group to handle circular dependency between libgcc.a and libc.a.
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig index 0c4c75aefa..4d914589d7 100644 --- a/Makeconfig +++ b/Makeconfig @@ -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... |