diff options
author | Keith Packard <keithp@keithp.com> | 2019-02-03 12:48:45 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-02-03 13:02:57 -0800 |
commit | 630f457666b48321be0a5b6fbf391efef1fa3eb4 (patch) | |
tree | 95526d8ebc708e8cd070174c59bf68b7156fe1af /micropeak | |
parent | 145e5a1ac557c4990e74fb64b005fc68d6941bdc (diff) |
Use strip-nondeterminism to fix JAR timestamps
.jar files are just zip files, and contain dates. These will cause the
build to be non-reproducible. Use strip-nondeterminism to smash all of
these back to a fixed value.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'micropeak')
-rw-r--r-- | micropeak/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/micropeak/Makefile.am b/micropeak/Makefile.am index f01c5c9f..7e9b490d 100644 --- a/micropeak/Makefile.am +++ b/micropeak/Makefile.am @@ -222,12 +222,18 @@ $(JAR): classmicropeak.stamp Manifest.txt $(JAVA_ICONS) $(ALTOSLIB_CLASS) $(ALTO $(ICONJAR) \ -C classes org \ -C ../libaltos libaltosJNI +if STRIP_NONDETERMINISM + $(STRIP_NONDETERMINISM) $@ +endif $(FATJAR): classmicropeak.stamp Manifest-fat.txt $(ALTOSLIB_CLASS) $(ALTOSUILIB_CLASS) $(JFREECHART_CLASS) $(JCOMMON_CLASS) $(JAVA_ICONS) jar cfm $@ Manifest-fat.txt \ $(ICONJAR) \ -C classes org \ -C ../libaltos libaltosJNI +if STRIP_NONDETERMINISM + $(STRIP_NONDETERMINISM) $@ +endif classaltosui.stamp: $(ALTOSLIB_CLASS) $(ALTOSUILIB_CLASS) |