Skip to content

Commit e566cba

Browse files
authored
Merge pull request #3446 from apple/🍒/FBI/1529738b6619
[debugserver] Fix BUILDING_FOR_ARM64_OSX
2 parents cef544c + 6c0ebd0 commit e566cba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lldb/tools/debugserver/source/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,21 +88,21 @@ include(CheckCSourceCompiles)
8888
check_c_source_compiles(
8989
"
9090
#include <TargetConditionals.h>
91-
#if TARGET_CPU_ARM
91+
#if TARGET_CPU_ARM64
9292
#if TARGET_OS_OSX
9393
#warning Building for macOS
9494
#else
9595
#error Not building for macOS
9696
#endif
9797
#else
98-
#error Not building for ARM
98+
#error Not building for ARM64
9999
#endif
100100
int main() { return 0; }
101101
"
102-
BUILDING_FOR_ARM_OSX
102+
BUILDING_FOR_ARM64_OSX
103103
)
104104

105-
if (BUILDING_FOR_ARM_OSX)
105+
if (BUILDING_FOR_ARM64_OSX)
106106
set(CMAKE_OSX_ARCHITECTURES "arm64;arm64e")
107107
endif ()
108108

0 commit comments

Comments
 (0)