Skip to content

Commit 756f82d

Browse files
committed
[LDC] compiler-rt: Work around compile error for armv7-android
1 parent 43643d4 commit 756f82d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler-rt/lib/builtins/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,11 @@ elseif(NOT WIN32)
568568
)
569569
endif()
570570

571+
if (ANDROID)
572+
# FIXME: clear_cache.c:87:20: error: write to reserved register 'R7'
573+
list(REMOVE_ITEM arm_SOURCES clear_cache.c)
574+
endif()
575+
571576
set(aarch64_SOURCES
572577
${GENERIC_TF_SOURCES}
573578
${GENERIC_SOURCES}

0 commit comments

Comments
 (0)