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 --- telegps/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'telegps') diff --git a/telegps/Makefile.am b/telegps/Makefile.am index 3443b288..ae1e83e9 100644 --- a/telegps/Makefile.am +++ b/telegps/Makefile.am @@ -227,12 +227,18 @@ $(JAR): classtelegps.stamp Manifest.txt $(JAVA_ICONS) $(ALTOSLIB_CLASS) $(ALTOSU $(ICONJAR) \ -C classes org \ -C ../libaltos libaltosJNI +if STRIP_NONDETERMINISM + $(STRIP_NONDETERMINISM) $@ +endif $(FATJAR): classtelegps.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 libaltos.so: build-libaltos -rm -f "$@" -- cgit v1.2.3