diff options
Diffstat (limited to 'solenv/gbuild/platform/macosx.mk')
-rw-r--r-- | solenv/gbuild/platform/macosx.mk | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk index 96624b8edb81..5eac8ba43114 100644 --- a/solenv/gbuild/platform/macosx.mk +++ b/solenv/gbuild/platform/macosx.mk @@ -158,11 +158,8 @@ $(call gb_Helper_abbreviate_dirs,\ > $(WORKDIR)/LinkTarget/$(2).exports.tmp && \ $(NM) -g -P $(1) | cut -d' ' -f1-2 | grep -v U$$ \ >> $(WORKDIR)/LinkTarget/$(2).exports.tmp && \ - if cmp -s $(WORKDIR)/LinkTarget/$(2).exports.tmp $(WORKDIR)/LinkTarget/$(2).exports; \ - then rm $(WORKDIR)/LinkTarget/$(2).exports.tmp; \ - else mv $(WORKDIR)/LinkTarget/$(2).exports.tmp $(WORKDIR)/LinkTarget/$(2).exports && \ - touch -r $(1) $(WORKDIR)/LinkTarget/$(2).exports; \ - fi &&) \ + $(call gb_Helper_replace_if_different_and_touch,$(WORKDIR)/LinkTarget/$(2).exports.tmp, \ + $(WORKDIR)/LinkTarget/$(2).exports,$(1)) &&) \ :) endef |