diff options
author | Roland McGrath <roland@hack.frob.com> | 2011-06-11 04:16:49 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2011-07-02 15:19:52 -0700 |
commit | f781ef4015504e8a1da649c266584976238aa079 (patch) | |
tree | ce0e43d899039e60690ce5ca64341ad9c7eedf38 /Makerules | |
parent | 2d4fa81e11abc464b5b1f6417525285e84ff787c (diff) | |
download | glibc-f781ef4015504e8a1da649c266584976238aa079.zip glibc-f781ef4015504e8a1da649c266584976238aa079.tar.gz glibc-f781ef4015504e8a1da649c266584976238aa079.tar.bz2 |
Add --with-default-link configure option.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -479,6 +479,11 @@ endif endif ifeq (yes,$(elf)) +ifeq (yes,$(use-default-link)) +# If the linker is good enough, we can let it use its default linker script. +shlib-lds = +shlib-lds-flags = +else # binutils only position loadable notes into the first page for binaries, # not for shared objects $(common-objpfx)shlib.lds: $(common-objpfx)config.make $(..)Makerules @@ -516,6 +521,7 @@ common-generated += shlib.lds shlib-lds = $(common-objpfx)shlib.lds shlib-lds-flags = -T $(shlib-lds) +endif define build-shlib $(build-shlib-helper) -o $@ $(shlib-lds-flags) \ |