guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/08: gnu: skalibs: Fix non-reproducibility issue.


From: Ludovic Courtès
Subject: 07/08: gnu: skalibs: Fix non-reproducibility issue.
Date: Mon, 11 Dec 2017 11:14:46 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 73138fd146a1449df77ee26cc5717b18cb15d84a
Author: Z. Ren <address@hidden>
Date:   Sun Dec 10 22:23:32 2017 +0800

    gnu: skalibs: Fix non-reproducibility issue.
    
    * gnu/packages/skarnet.scm (skalibs)[arguments]: In 'reproducible'
    phase, insert a 'sort' call in "Makefile".
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/skarnet.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/skarnet.scm b/gnu/packages/skarnet.scm
index 5a46b0d..ce6fdc7 100644
--- a/gnu/packages/skarnet.scm
+++ b/gnu/packages/skarnet.scm
@@ -47,8 +47,8 @@
                       ;; Sort source files deterministically so that the *.a
                       ;; and *.so files are reproducible.
                       (substitute* "Makefile"
-                        (("\\$\\(ALL_SRCS:%.c=%.o\\)")
-                         "$(sort $(ALL_SRCS:%.c=%.o))"))
+                        (("\\$\\(wildcard src/lib\\*/\\*.c\\)")
+                         "$(sort $(wildcard src/lib*/*.c))"))
                       #t)))))
     (home-page "http://skarnet.org/software/skalibs/";)
     (synopsis "Platform abstraction libraries for skarnet.org software")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]