|
@@ -10,7 +10,7 @@ def getSysrootFlagsOnDarwin(config, lit_config):
|
|
# default system root path.
|
|
# default system root path.
|
|
if 'darwin' in config.target_triple:
|
|
if 'darwin' in config.target_triple:
|
|
try:
|
|
try:
|
|
- out = subprocess.check_output(['xcrun', '--show-sdk-path']).strip().decode()
|
|
|
|
|
|
+ out = subprocess.check_output(['xcrun', '--show-sdk-path']).strip()
|
|
res = 0
|
|
res = 0
|
|
except OSError:
|
|
except OSError:
|
|
res = -1
|
|
res = -1
|