Skip to content

Commit

Permalink
fix CMake flags for arm64-v8a architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
julesgrc0 committed Feb 21, 2024
1 parent fabed8b commit b332d16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if(ANDROID)
if(CMAKE_ANDROID_ARCH_ABI STREQUAL "armeabi-v7a")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfloat-abi=softfp -mfpu=vfpv3-d16")
elseif(CMAKE_ANDROID_ARCH_ABI STREQUAL "arm64-v8a")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfix-cortex-a53-835769 -mfix-cortex-a53-843419")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfix-cortex-a53-835769")
endif()
elseif(UNIX)
set(RESOURCE_FILE ${CMAKE_SOURCE_DIR}/out/resource.pack)
Expand Down
1 change: 1 addition & 0 deletions src/core/bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ typedef struct w_bridge {

w_bridge *create_bridge();
void destroy_bridge(w_bridge *td);
void physics_update(w_bridge *td);

#ifdef _WIN32
int WINAPI update_bridge(PVOID arg);
Expand Down
4 changes: 1 addition & 3 deletions src/screen/game.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
#include "../terrain/break.h"
#include "../terrain/chunk.h"

#include "../gui/action.h"
#include "../gui/gui.h"
#include "../gui/joystick.h"
#include "../gui/action.h"

#define DAY_DURATION 60.0f

void game_screen(w_state *state);

0 comments on commit b332d16

Please sign in to comment.