diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 file changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 42b2d63..71f60fd 100644
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,10 @@ all: cgit
# mandatory.
GIT_BUILD_FLAGS = NO_CURL=1 NO_OPENSSL=1 NO_RUST=1
+# Apple's linker otherwise stamps each object's mtime into the debug map, so
+# two builds of the same sources would differ.
+export ZERO_AR_DATE = 1
+
cgit:
+@$(MAKE) -C $(GITDIR) -f $(CGIT_ROOT)/$(SRCDIR)/cgit.mk \
$(CGIT_ROOT)/$(BUILDDIR)/cgit $(EXTRA_GIT_TARGETS) $(GIT_BUILD_FLAGS)