about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mk/stage0.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/stage0.mk b/mk/stage0.mk
index 4edd9118a56..e028bba73da 100644
--- a/mk/stage0.mk
+++ b/mk/stage0.mk
@@ -3,8 +3,11 @@
 $(HBIN0_H_$(CFG_BUILD))/:
 	mkdir -p $@
 
+# On windows these two are the same, so cause a redifinition warning
+ifneq ($(HBIN0_H_$(CFG_BUILD)),$(HLIB0_H_$(CFG_BUILD)))
 $(HLIB0_H_$(CFG_BUILD))/:
 	mkdir -p $@
+endif
 
 $(SNAPSHOT_RUSTC_POST_CLEANUP): \
 		$(S)src/snapshots.txt \