diff options
author | Andrew Senkevich <andrew.senkevich@intel.com> | 2016-12-08 17:25:59 +0300 |
---|---|---|
committer | Andrew Senkevich <andrew.senkevich@intel.com> | 2016-12-08 17:25:59 +0300 |
commit | cbd8f9302c9a04bf4fe72a3a1a641faf07614552 (patch) | |
tree | c41fe53f2e9d34b376bfe46ca201d4e3d7955f0c /Makerules | |
parent | 23b5cae1af04f2d912910fdaf73cb482265798c1 (diff) | |
download | glibc-cbd8f9302c9a04bf4fe72a3a1a641faf07614552.zip glibc-cbd8f9302c9a04bf4fe72a3a1a641faf07614552.tar.gz glibc-cbd8f9302c9a04bf4fe72a3a1a641faf07614552.tar.bz2 |
Install libm.a as linker script (bug 20539).
Install libm.a as linker script to avoid static link fail w/o passing
additional -lmvec option while building with GCC >= 6.1.
[BZ #20539]
* math/Makefile (install-lib-ldscripts): Add libm.a.
(install_subdir): Remove.
(install-others): Add.
($(inst_libdir)/libm.a): Add rule for installation as
linker script.
* Makerules (install-lib.a): Filter out install-lib-ldscripts.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1237,6 +1237,7 @@ $(addprefix $(inst_sbindir)/,$(install-sbin)): \ endif ifdef install-lib install-lib.a := $(filter lib%.a,$(install-lib)) +install-lib.a := $(filter-out $(install-lib-ldscripts),$(install-lib.a)) install-lib-non.a := $(filter-out lib%.a,$(install-lib)) ifdef install-lib-non.a $(addprefix $(inst_libdir)/$(libprefix),$(install-lib-non.a)): \ |