This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.24-466-gffb8455


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  ffb8455c439cda679d4be05b6ebcbaa375334af4 (commit)
      from  5f4f13b47abd5eb984a83302a87b02fb4a94545d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ffb8455c439cda679d4be05b6ebcbaa375334af4

commit ffb8455c439cda679d4be05b6ebcbaa375334af4
Author: Andrew Senkevich <andrew.senkevich@intel.com>
Date:   Tue Dec 13 17:40:08 2016 +0300

    Better design of libm.a installation rule.
    
        * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
        * ($(inst_libdir)/libm.a): Fix rule to create the target only.

diff --git a/ChangeLog b/ChangeLog
index 161af38..facae6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
+
+	* math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
+	($(inst_libdir)/libm.a): Fix rule to create the target only.
+
 2016-12-13  Andreas Schwab  <schwab@suse.de>
 
 	* sysdeps/powerpc/dl-procinfo.c: Don't define
diff --git a/math/Makefile b/math/Makefile
index 49556f6..b5d4988 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -143,15 +143,18 @@ $(inst_libdir)/libm.so: $(common-objpfx)format.lds \
 	) > $@.new
 	mv -f $@.new $@
 
+$(inst_libdir)/libm-$(version).a: $(objpfx)libm.a \
+				  $(+force)
+	$(do-install)
+
 $(inst_libdir)/libm.a: $(common-objpfx)format.lds \
-		       $(libm) \
-		       $(libmvec) \
+		       $(inst_libdir)/libm-$(version).a \
+		       $(objpfx)../mathvec/libmvec.a \
 		       $(+force)
 	(echo '/* GNU ld script'; echo '*/';\
 	 cat $<; \
-	 echo 'GROUP ( $(libdir)/libm-$(lib-version).a $(libdir)/libmvec.a )' \
+	 echo 'GROUP ( $(libdir)/libm-$(version).a $(libdir)/libmvec.a )' \
 	) > $@.new
-	cp $(objpfx)libm.a $(inst_libdir)/libm-$(lib-version).a
 	mv -f $@.new $@
 endif
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog     |    5 +++++
 math/Makefile |   11 +++++++----
 2 files changed, 12 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]