[PATCH] Install libm.a as linker script [BZ #20539]
Andrew Senkevich
andrew.n.senkevich@gmail.com
Mon Nov 14 19:16:00 GMT 2016
2016-10-25 1:02 GMT+03:00 H.J. Lu <hjl.tools@gmail.com>:
>> diff --git a/Makerules b/Makerules
>> index e865782..290f927 100644
>> --- a/Makerules
>> +++ b/Makerules
>> @@ -1190,7 +1190,9 @@ $(addprefix $(inst_sbindir)/,$(install-sbin)): \
>> $(do-install-program)
>> endif
>> ifdef install-lib
>> -install-lib.a := $(filter lib%.a,$(install-lib))
>> +ifeq ($(build-mathvec),yes)
>> +install-lib.a := $(filter-out libm.a,$(filter lib%.a,$(install-lib)))
>> +endif
>
> Should we use $(install-lib-ldscripts) instead of libm.a here?
I had tried but haven't rich a success.
>> # Rules for the test suite.
>>
>
> Do you need to update rules for building static math tests with
> libmvec.a?
I haven't added -lmvec explicitly for any static math test so I think no.
Attached corrected version.
--
WBR,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bz20539.patch
Type: application/octet-stream
Size: 1767 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161114/04a97c53/attachment.obj>
More information about the Libc-alpha
mailing list