diff options
Diffstat (limited to 'data/lz4/make.sh')
-rw-r--r-- | data/lz4/make.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/lz4/make.sh b/data/lz4/make.sh index 654c78332..1d6eee2d0 100644 --- a/data/lz4/make.sh +++ b/data/lz4/make.sh @@ -6,7 +6,7 @@ set(CMAKE_CROSSCOMPILING true) #include(CMakeForceCompiler) # Prefix detection only works with compiler id "GNU" # CMake will look for prefixed g++, cpp, ld, etc. automatically -set(CMAKE_SYSTEM_PROCESSOR aarch64) +set(CMAKE_SYSTEM_PROCESSOR ${PKG_TARG%%-*}) set(triple ${PKG_TARG}) set(CMAKE_FIND_ROOT_PATH $(echo ${PKG_PATH} | sed -e s/:/' '/g)) set(CMAKE_LIBRARY_PATH $(echo ${LIBRARY_PATH} | sed -e s/:/' '/g)) |