Skip to content

Commit ea00fea

Browse files
committed
fix ios / compiler-rt condition in makefile
closes rust-lang#34617
1 parent ecbfa47 commit ea00fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mk/rt.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ endif
320320
COMPRT_BUILD_CC_$(1) := -DCMAKE_C_COMPILER=$$(call FIND_COMPILER,$$(CC_$(1))) \
321321
-DCMAKE_CXX_COMPILER=$$(call FIND_COMPILER,$$(CXX_$(1)))
322322

323-
ifeq ($$(findstring ios,$(1)),)
323+
ifeq ($$(findstring ios,$(1)),ios)
324324
COMPRT_BUILD_CC_$(1) := $$(COMPRT_BUILD_CC_$(1)) \
325325
-DCMAKE_C_FLAGS="$$(CFG_GCCISH_CFLAGS_$(1)) -Wno-error"
326326
endif

0 commit comments

Comments
 (0)