mirror of
https://github.com/ptitSeb/box86.git
synced 2024-11-27 11:54:50 +08:00
Fix Android build
This commit is contained in:
parent
31a988877a
commit
54b911550f
@ -133,6 +133,8 @@ elseif(PHYTIUM)
|
||||
add_definitions(-DPHYTIUM)
|
||||
add_definitions(-pipe -march=armv8.1-a+simd+crypto -mfpu=neon-fp-armv8 -mfloat-abi=hard)
|
||||
set(CMAKE_ASM_FLAGS "-pipe -march=armv8.1-a+simd+crypto -mfpu=neon-fp-armv8 -mfloat-abi=hard")
|
||||
elseif(ANDROID)
|
||||
add_definitions(-DANDROID)
|
||||
elseif(ARM_DYNAREC)
|
||||
#if DYNAREC is selected alone, without any arch
|
||||
set(CMAKE_ASM_FLAGS "-pipe -march=armv7-a+simd -mfpu=neon")
|
||||
|
@ -2874,10 +2874,12 @@ EXPORT int my_semctl(x86emu_t* emu, int semid, int semnum, int cmd, union semun
|
||||
return ((iFiiiV_t)f)(semid, semnum, cmd, b);
|
||||
}
|
||||
|
||||
#ifndef ANDROID
|
||||
EXPORT int my_on_exit(x86emu_t* emu, void* f, void* args)
|
||||
{
|
||||
return on_exit(findon_exitFct(f), args);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
EXPORT char** my_environ = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user