Skip to content

Commit f9be289

Browse files
authored
[build] Amend target options for common C flags (swiftlang#35559)
Follow up of swiftlang#35406 Addresses rdar://73502059
1 parent 4f5c75a commit f9be289

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utils/build-script-impl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,19 +1292,19 @@ function common_cross_c_flags() {
12921292
echo -n " -arch ${arch} -target ${arch}-apple-macosx${SWIFT_DARWIN_DEPLOYMENT_VERSION_OSX}"
12931293
;;
12941294
iphonesimulator-*)
1295-
echo -n " -arch ${arch} -target ${arch}-apple-ios-simulator${DARWIN_DEPLOYMENT_VERSION_IOS}"
1295+
echo -n " -arch ${arch} -target ${arch}-apple-ios${DARWIN_DEPLOYMENT_VERSION_IOS}-simulator"
12961296
;;
12971297
iphoneos-*)
1298-
echo -n " -arch ${arch} -target ${arch}-apple-iphoneos${DARWIN_DEPLOYMENT_VERSION_IOS}"
1298+
echo -n " -arch ${arch} -target ${arch}-apple-ios${DARWIN_DEPLOYMENT_VERSION_IOS}"
12991299
;;
13001300
appletvsimulator-*)
1301-
echo -n " -arch ${arch} -target ${arch}-apple-tvos-simulator${DARWIN_DEPLOYMENT_VERSION_TVOS}"
1301+
echo -n " -arch ${arch} -target ${arch}-apple-tvos${DARWIN_DEPLOYMENT_VERSION_TVOS}-simulator"
13021302
;;
13031303
appletvos-*)
13041304
echo -n " -arch ${arch} -target ${arch}-apple-tvos${DARWIN_DEPLOYMENT_VERSION_TVOS}"
13051305
;;
13061306
watchsimulator-*)
1307-
echo -n " -arch ${arch} -target ${arch}-apple-watchos-simulator${DARWIN_DEPLOYMENT_VERSION_WATCHOS}"
1307+
echo -n " -arch ${arch} -target ${arch}-apple-watchos${DARWIN_DEPLOYMENT_VERSION_WATCHOS}-simulator"
13081308
;;
13091309
watchos-*)
13101310
echo -n " -arch ${arch} -target ${arch}-apple-watchos${DARWIN_DEPLOYMENT_VERSION_WATCHOS}"

0 commit comments

Comments
 (0)