gnu: sablevm: Build reproducibly.

* gnu/packages/java.scm (sablevm)[arguments]: Add build phase
"remove-timestamp-for-reproducibility".
This commit is contained in:
Ricardo Wurmus 2017-06-15 14:45:08 +02:00 committed by Ricardo Wurmus
parent c4fd86f9c1
commit ec7e9eeae6
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 5 additions and 0 deletions

View File

@ -167,6 +167,11 @@ This package provides the classpath library.")
"--with-internal-libpopt=no")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'remove-timestamp-for-reproducibility
(lambda _
(substitute* "src/sablevm/Makefile.in"
(("\\$\\(SVMCOMPILETIME\\)") "(unknown)"))
#t))
(add-after 'unpack 'link-with-popt
(lambda _
(substitute* "src/sablevm/Makefile.in"