File tree Expand file tree Collapse file tree 3 files changed +0
-13
lines changed Expand file tree Collapse file tree 3 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,6 @@ ifeq ($(NDK_DEBUG),1)
112112 cmd-strip :=
113113endif
114114
115- LOCAL_STATIC_LIBRARIES := cpufeatures
116-
117115include $(BUILD_SHARED_LIBRARY )
118116
119117
@@ -145,4 +143,3 @@ LOCAL_EXPORT_LDLIBS :=
145143
146144include $(BUILD_STATIC_LIBRARY )
147145
148- $(call import-module,android/cpufeatures)
Original file line number Diff line number Diff line change @@ -1407,8 +1407,6 @@ if(ANDROID)
14071407 "${SDL3_SOURCE_DIR} /src/core/android/*.c"
14081408 "${SDL3_SOURCE_DIR} /src/core/android/*.h"
14091409 )
1410- sdl_sources("${CMAKE_ANDROID_NDK} /sources/android/cpufeatures/cpu-features.c" )
1411- set_property (SOURCE "${CMAKE_ANDROID_NDK} /sources/android/cpufeatures/cpu-features.c" APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-declaration-after-statement" )
14121410
14131411 sdl_glob_sources(
14141412 "${SDL3_SOURCE_DIR} /src/misc/android/*.c"
@@ -3819,10 +3817,6 @@ else()
38193817 set (ARCH_64 FALSE )
38203818endif ()
38213819
3822- if (ANDROID)
3823- sdl_include_directories(PRIVATE SYSTEM "${CMAKE_ANDROID_NDK} /sources/android/cpufeatures" )
3824- endif ()
3825-
38263820if (APPLE )
38273821 cmake_push_check_state(RESET)
38283822 check_c_compiler_flag(-fobjc-arc COMPILER_SUPPORTS_FOBJC_ARC)
Original file line number Diff line number Diff line change 7676#include <sys/param.h>
7777#endif
7878
79- #if defined(SDL_PLATFORM_ANDROID ) && defined(__arm__ ) && !defined(HAVE_GETAUXVAL )
80- #include <cpu-features.h>
81- #endif
82-
8379#if defined(HAVE_GETAUXVAL ) || defined(HAVE_ELF_AUX_INFO )
8480#include <sys/auxv.h>
8581#endif
You can’t perform that action at this time.
0 commit comments