Skip to content

Commit 485f5cc

Browse files
committed
Hopefully the last 0.9.2 commit
1 parent ff81b56 commit 485f5cc

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Makefile

+2-5
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,12 @@ SUBPKG_1_ID = 14
1818
SUBPKG_1_NAME = iOS 14
1919
SUBPKG_1_FW = firmware (>= 14.0), firmware (<< 15.0)
2020

21-
LOCAL_SWIFTC := $(TARGET_SWIFTC)
22-
$(info Swift version $(shell $(LOCAL_SWIFTC) --version))
23-
24-
IS_OSS_SWIFT := $(shell $(LOCAL_SWIFTC) --version | grep -q swiftlang || echo 1)
21+
IS_OSS_SWIFT := $(shell swiftc --version | grep -q swiftlang || echo 1)
2522
ifeq ($(SUBPKG),)
2623
ifneq ($(IS_OSS_SWIFT),)
2724
SUBPKG := 0
2825
else
29-
APPLE_SWIFT_VERSION := $(shell $(LOCAL_SWIFTC) --version | cut -d' ' -f4)
26+
APPLE_SWIFT_VERSION := $(shell swiftc --version | cut -d' ' -f4)
3027
ifeq ($(shell $(THEOS_BIN_PATH)/vercmp.pl $(APPLE_SWIFT_VERSION) ge 5.3),1)
3128
SUBPKG := 1
3229
else

0 commit comments

Comments
 (0)