summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 1496af7591..7bdf97f98a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -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"