* Set -march=armv7-a for Alpine Linux ARM32
* Remove armv7-linux-gnueabi[hf]
* Cast RLIM_INFINITY to size_t
# we have to set the triple by adding a compiler argument
add_compile_options(-mthumb)
add_compile_options(-mfpu=vfpv3)
+ add_compile_options(-march=armv7-a)
if(ARM_SOFTFP)
add_definitions(-DARM_SOFTFP)
add_compile_options(-mfloat-abi=softfp)
- add_compile_options(-target armv7-linux-gnueabi)
- else()
- add_compile_options(-target armv7-linux-gnueabihf)
endif(ARM_SOFTFP)
endif(CLR_CMAKE_PLATFORM_UNIX_ARM)
physical_memory_limit = SIZE_T_MAX;
struct rlimit curr_rlimit;
- size_t rlimit_soft_limit = RLIM_INFINITY;
+ size_t rlimit_soft_limit = (size_t)RLIM_INFINITY;
if (getrlimit(RLIMIT_AS, &curr_rlimit) == 0)
{
rlimit_soft_limit = curr_rlimit.rlim_cur;