Skip to content

Commit e88b789

Browse files
committed
[LDC] compiler-rt: Work around compile error for armv7-android
1 parent a2421e8 commit e88b789

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler-rt/lib/builtins/CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,11 @@ elseif(NOT WIN32)
559559
)
560560
endif()
561561

562+
if (ANDROID)
563+
# FIXME: clear_cache.c:87:20: error: write to reserved register 'R7'
564+
list(REMOVE_ITEM arm_SOURCES clear_cache.c)
565+
endif()
566+
562567
set(aarch64_SOURCES
563568
${GENERIC_TF_SOURCES}
564569
${GENERIC_SOURCES}

0 commit comments

Comments
 (0)