From bc5bcad45e1eaebbea0f1409f096d166cdb778d9 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 18 Jun 2018 13:39:23 -0400 Subject: Xcode: Detect architecture(s) using ARCHS instead of CURRENT_ARCH Xcode 10 no longer populates `CURRENT_ARCH` with the current architecture in shell scripts and instead uses `undefined_arch`. Instead we must use `ARCHS`. It lists all architectures separated by spaces. Fixes: #18085 --- Modules/CompilerId/Xcode-3.pbxproj.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/CompilerId') diff --git a/Modules/CompilerId/Xcode-3.pbxproj.in b/Modules/CompilerId/Xcode-3.pbxproj.in index 1cbaa578b5..94bcbf868f 100644 --- a/Modules/CompilerId/Xcode-3.pbxproj.in +++ b/Modules/CompilerId/Xcode-3.pbxproj.in @@ -58,7 +58,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "echo \"GCC_VERSION=$GCC_VERSION\" ; echo \"CURRENT_ARCH=$CURRENT_ARCH\""; + shellScript = "echo \"GCC_VERSION=$GCC_VERSION\" ; echo \"ARCHS=$ARCHS\""; showEnvVarsInLog = 0; }; 2C18F0B515DC1DCE00593670 = { -- cgit v1.2.1