From 630f457666b48321be0a5b6fbf391efef1fa3eb4 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 3 Feb 2019 12:48:45 -0800 Subject: 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 --- micropeak/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'micropeak') 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) -- cgit v1.2.3