diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-07-03 19:14:59 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-07-03 19:14:59 +0000 |
commit | 95f5a9a866695da4e038aa4e6ccbbfd5d9cf63b7 (patch) | |
tree | ddf8e760203bf2008c12269cb8f78aaa6cc06951 /elf/Makefile | |
parent | 7a845b2c237434d4aad790aaba3a973e24ea802f (diff) | |
download | glibc-95f5a9a866695da4e038aa4e6ccbbfd5d9cf63b7.tar.gz glibc-95f5a9a866695da4e038aa4e6ccbbfd5d9cf63b7.tar.xz glibc-95f5a9a866695da4e038aa4e6ccbbfd5d9cf63b7.zip |
Avoid use of libgcc_s and libgcc_eh when building glibc.
Diffstat (limited to 'elf/Makefile')
-rw-r--r-- | elf/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile index 0c26ce545a..90541991d2 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -71,6 +71,8 @@ others = sprof sln pldd install-bin = sprof pldd others-static = sln install-rootsbin = sln +sln-modules := static-stubs +extra-objs += $(sln-modules:=.o) ifeq (yes,$(use-ldconfig)) ifeq (yes,$(build-shared)) @@ -78,7 +80,7 @@ others-static += ldconfig others += ldconfig install-rootsbin += ldconfig -ldconfig-modules := cache readlib xmalloc xstrdup chroot_canon +ldconfig-modules := cache readlib xmalloc xstrdup chroot_canon static-stubs extra-objs += $(ldconfig-modules:=.o) endif endif @@ -411,6 +413,8 @@ $(objpfx)ldd: ldd.bash.in $(common-objpfx)soversions.mk \ $(objpfx)sprof: $(libdl) +$(objpfx)sln: $(sln-modules:%=$(objpfx)%.o) + $(objpfx)ldconfig: $(ldconfig-modules:%=$(objpfx)%.o) $(objpfx)pldd: $(pldd-modules:%=$(objpfx)%.o) |