Skip to content

Commit 165ba75

Browse files
committed
Disable rtti on arm-32-linux
1 parent a5d55c8 commit 165ba75

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

master/master.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,10 @@ def get_llvm_cmake_definitions(builder_type):
947947
definitions["CMAKE_TOOLCHAIN_FILE"] = get_llvm_toolchains_path("toolchain.linux-arm32.cmake")
948948
definitions["LLVM_TARGET_ARCH"] = "ARM"
949949
definitions["LLVM_DEFAULT_TARGET_TRIPLE"] = "arm-linux-gnueabihf"
950+
# As of 12/11/2025 LLVM doesn't build on arm-32 with RTTI. We
951+
# don't need it, because we're not going to be compiling with
952+
# exceptions or building the python bindings anyway.
953+
definitions["LLVM_ENABLE_RTTI"] = "OFF"
950954

951955
if builder_type.arch == "x86" and builder_type.bits == 32 and builder_type.os == "linux":
952956
definitions["CMAKE_FIND_ROOT_PATH"] = "/usr/lib/i386-linux-gnu"

0 commit comments

Comments
 (0)