Skip to content

Commit a7c3233

Browse files
committed
---
yaml --- r: 207327 b: refs/heads/master c: ee64bab h: refs/heads/master i: 207325: f8a75e2 207323: 22bbb24 207319: 7ebb085 207311: 0206973 207295: 67964d6 v: v3
1 parent 59577ff commit a7c3233

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: fcf7ecd1d709c3a4ecc652349763710914271fb0
2+
refs/heads/master: ee64bab76cdaa375cc015a5eb3e3fd7581d2a7b3
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 857ef6e272e5634cb9f3e6ee50eb6bc2a2e71651
55
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f

trunk/mk/platform.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ FIND_COMPILER = $(word 1,$(1:ccache=))
164164
define CFG_MAKE_TOOLCHAIN
165165
# Prepend the tools with their prefix if cross compiling
166166
ifneq ($(CFG_BUILD),$(1))
167+
ifneq ($$(findstring msvc,$(1)),msvc)
167168
CC_$(1)=$(CROSS_PREFIX_$(1))$(CC_$(1))
168169
CXX_$(1)=$(CROSS_PREFIX_$(1))$(CXX_$(1))
169170
CPP_$(1)=$(CROSS_PREFIX_$(1))$(CPP_$(1))
@@ -173,6 +174,7 @@ define CFG_MAKE_TOOLCHAIN
173174
-C ar=$$(call FIND_COMPILER,$$(AR_$(1))) $(RUSTC_CROSS_FLAGS_$(1))
174175

175176
RUSTC_FLAGS_$(1)=$$(RUSTC_CROSS_FLAGS_$(1)) $(RUSTC_FLAGS_$(1))
177+
endif
176178
endif
177179

178180
CFG_COMPILE_C_$(1) = $$(CC_$(1)) \

0 commit comments

Comments
 (0)