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 <ludo@gnu.org>
This commit is contained in:
Z. Ren 2017-12-10 22:23:32 +08:00 committed by Ludovic Courtès
parent cdba3a8469
commit 73138fd146
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 2 deletions

View File

@ -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")