File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -593,6 +593,11 @@ elseif(NOT WIN32)
593593 )
594594endif ()
595595
596+ if (ANDROID)
597+ # FIXME: clear_cache.c:87:20: error: write to reserved register 'R7'
598+ list (REMOVE_ITEM arm_SOURCES clear_cache.c)
599+ endif ()
600+
596601set (aarch64_SOURCES
597602 ${GENERIC_TF_SOURCES}
598603 ${GENERIC_SOURCES}
Original file line number Diff line number Diff line change 2626# include < sys/prctl.h>
2727# include < sys/resource.h>
2828# include < sys/time.h>
29+ # if defined(__ANDROID__)
30+ # // SSIZE_MAX required by unistd.h; somehow including limits.h explicitly doesn't work either
31+ # if !defined(SSIZE_MAX) && defined(__LP64__)
32+ # define SSIZE_MAX 0x7fffffffffffffffL
33+ # endif
34+ # endif
2935# include < unistd.h>
3036# include < unwind.h>
3137
You can’t perform that action at this time.
0 commit comments