aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Rules2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 34c0a16..6b50924 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
+
+ * Rules: Update timestamps on empty object files.
+
1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
* manual/filesys.texi (Scanning Directory Content): Add description
diff --git a/Rules b/Rules
index a008635..2cc53ca 100644
--- a/Rules
+++ b/Rules
@@ -187,6 +187,7 @@ ifdef static-only-routines
$(static-only-routines:%=$(objpfx)%.os): %.os: $(common-objpfx)empty.os
rm -f $@
ln $< $@
+ touch $@
# Must build the routines as PIC, though, because they can end up in (users')
# shared objects. We don't want to use CFLAGS-os because users may, for
@@ -202,6 +203,7 @@ define o-iterator-doit
$(shared-only-routines:%=$(objpfx)%$o): %$o: $(common-objpfx)empty$o;
rm -f $$@
ln $$< $$@
+ touch $$@
endef
object-suffixes-left := $(filter-out .os,$(object-suffixes))
include $(o-iterator)