2016-10-25 1:02 GMT+03:00 H.J. Lu : >> 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