Skip to content

Commit c1486f4

Browse files
committed
build-script: unset *_DEPLOYMENT_TARGET variables
These variables interfere with cross-compiling of the standard library and runtime.
1 parent b2d65b3 commit c1486f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/build-script

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,9 @@ the number of parallel build jobs to use""",
11151115
'MAKEFLAGS',
11161116
'SDKROOT',
11171117
'MACOSX_DEPLOYMENT_TARGET',
1118-
'IPHONEOS_DEPLOYMENT_TARGET']:
1118+
'IPHONEOS_DEPLOYMENT_TARGET',
1119+
'TVOS_DEPLOYMENT_TARGET',
1120+
'WATCHOS_DEPLOYMENT_TARGET']:
11191121
os.environ.pop(v, None)
11201122

11211123
if args.show_sdks:

0 commit comments

Comments
 (0)