touch --no-dereference does not work on MACOSX

Change-Id: I71e8658453e0e96e631cc2ef3996d660950c49cc
This commit is contained in:
Petr Mladek
2013-03-19 18:05:29 +01:00
parent dfcc20fd8e
commit 74f249ffef

View File

@@ -60,7 +60,7 @@ endif
endef
define gb_Deliver__deliver
$(if $(gb_Deliver_CLEARONDELIVER),rm -f $(2) &&) $(if $(gb_Deliver_HARDLINK),ln,cp -P -f) $(1) $(2) && touch --no-dereference -r $(1) $(2)
$(if $(gb_Deliver_CLEARONDELIVER),rm -f $(2) &&) $(if $(gb_Deliver_HARDLINK),ln,cp -P -f) $(1) $(2) && touch $(if $(filter-out MACOSX,$(OS_FOR_BUILD)),--no-dereference) -r $(1) $(2)
endef
ifneq ($(strip $(gb_Deliver_GNUCOPY)),)