1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* Rules: Update timestamps on empty object files.
This commit is contained in:
Ulrich Drepper 1998-03-21 21:00:29 +00:00
parent 5679cdb6e2
commit 2c8d89e729
2 changed files with 6 additions and 0 deletions

View File

@ -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

2
Rules
View File

@ -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)