From 3c37dfff8168686dc286d1ccb2f25a3f2340b4eb Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Mon, 31 May 2010 03:49:53 +0000
Subject: [PATCH] Touch the fasl files for asdf and defsystem so that the
 object date is newer than the source date.  This prevents warnings that the
 source is newer than the object in binary distributions.

---
 tools/make-main-dist.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tools/make-main-dist.sh b/tools/make-main-dist.sh
index aeea5f823..82b967735 100755
--- a/tools/make-main-dist.sh
+++ b/tools/make-main-dist.sh
@@ -139,6 +139,17 @@ do
     install ${GROUP} ${OWNER} -m 0644 src/$f $DESTDIR/lib/cmucl/lib/$f
 done
 
+# Touch the fasl files for asdf and defsystem, so we don't get notes
+# about the source being newer than object.
+sleep 1;
+touch $DESTDIR/lib/cmucl/lib/contrib/asdf/asdf.$FASL
+touch $DESTDIR/lib/cmucl/lib/contrib/defsystem/defsystem.$FASL
+if [ "$FASL" = "x86f" ]; then
+    # For x87, we want both x86f and sse2f
+    touch $DESTDIR/lib/cmucl/lib/contrib/asdf/asdf.x86f
+    touch $DESTDIR/lib/cmucl/lib/contrib/defsystem/defsystem.x86f
+fi
+
 install ${GROUP} ${OWNER} -m 0644 src/general-info/cmucl.1 \
 	$DESTDIR/${MANDIR}/
 install ${GROUP} ${OWNER} -m 0644 src/general-info/lisp.1 \
-- 
GitLab