Browse Source

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>
python-updates
Z. Ren 5 years ago
committed by Ludovic Courtès
parent
commit
73138fd146
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 4
      gnu/packages/skarnet.scm

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

Loading…
Cancel
Save