summaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
Diffstat (limited to 'Rules')
-rw-r--r--Rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rules b/Rules
index a0086350f6..2cc53ca280 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)