summaryrefslogtreecommitdiff
path: root/data/lz4
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-05-06 12:03:45 -1000
committerSam Bingner <sam@bingner.com>2019-05-06 12:03:45 -1000
commit03373a3d83d8c8d6cbc6e0a74b3434ef695e4c22 (patch)
tree7536f10be3adf7fb554dfdfe136db30f2798dabb /data/lz4
parent4d9f1a0e9610f10d9f07818b0a1345e391a6a68e (diff)
Build system updates
Diffstat (limited to 'data/lz4')
-rw-r--r--data/lz4/make.sh2
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))