Skip to content

Commit

Permalink
Use 1.14 toolchain (#3116)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored Jun 13, 2023
1 parent 75bcd68 commit 340c376
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/toolchain/aarch64.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set(TOOLCHAIN_PREFIX aarch64-linux-gnu)
set(ANDROID_NDK /opt/android-ndk-linux)
set (CMAKE_SYSTEM_NAME Android)
set (CMAKE_ANDROID_ARCH_ABI x86_64)
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR aarch64)
#set (CMAKE_ANDROID_ARCH_ABI x86_64)
#set (CMAKE_ANDROID_STANDALONE_TOOLCHAIN ${ANDROID_NDK}/build/cmake/android.toolchain.cmake)
set (CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc)
set (CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++)
Expand All @@ -12,7 +12,7 @@ set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set (CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
set (CMAKE_CROSSCOMPILING_EMULATOR qemu-aarch64)
set(CMAKE_CROSSCOMPILING_EMULATOR "qemu-aarch64-static;-L;/usr/aarch64-linux-gnu/" CACHE FILEPATH "Path to the emulator for the target system.")

include_directories(/usr/${TOOLCHAIN_PREFIX}/include)

0 comments on commit 340c376

Please sign in to comment.