Skip to content

Commit cc974a0

Browse files
committed
Remove GNU -m32 detection and "arm" architecture alias
1 parent 70782c7 commit cc974a0

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

cmake/godotcpp.cmake

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,22 +78,9 @@ function(godot_arch_name OUTVAR)
7878
endif()
7979
endif()
8080

81-
# Special case for GNU -m32 builds
82-
if(CMAKE_CXX_FLAGS MATCHES "-m32")
83-
set(${OUTVAR} "x86_32" PARENT_SCOPE)
84-
return()
85-
endif()
86-
87-
# Direct match early out.
88-
string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" ARCH)
89-
if(ARCH IN_LIST ARCH_LIST)
90-
set(${OUTVAR} "${ARCH}" PARENT_SCOPE)
91-
return()
92-
endif()
93-
9481
# Known aliases
9582
set(x86_64 "w64;amd64;x86-64")
96-
set(arm32 "armv7;armv7-a;arm")
83+
set(arm32 "armv7;armv7-a")
9784
set(arm64 "armv8;arm64v8;aarch64;armv8-a")
9885
set(rv64 "rv;riscv;riscv64")
9986
set(ppc32 "ppcle;ppc")

0 commit comments

Comments
 (0)