Skip to content

Commit f46b572

Browse files
committed
mk: Fix a minor makefile warning on windows
1 parent af3889f commit f46b572

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mk/stage0.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
$(HBIN0_H_$(CFG_BUILD))/:
44
mkdir -p $@
55

6+
# On windows these two are the same, so cause a redifinition warning
7+
ifneq ($(HBIN0_H_$(CFG_BUILD)),$(HLIB0_H_$(CFG_BUILD)))
68
$(HLIB0_H_$(CFG_BUILD))/:
79
mkdir -p $@
10+
endif
811

912
$(SNAPSHOT_RUSTC_POST_CLEANUP): \
1013
$(S)src/snapshots.txt \

0 commit comments

Comments
 (0)