From 4ccc43b3af24d8930c15616007f5088bb8c2fbe3 Mon Sep 17 00:00:00 2001 From: Slava Barinov Date: Mon, 1 Apr 2024 19:16:13 +0300 Subject: [PATCH] Fix libmvec build for aarch64 Change-Id: Ie5f38ff9e5116cf686e92d3892c77bf97a843b52 Signed-off-by: Slava Barinov --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 96810f0..492de21 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,7 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7l") elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DUSE_NEON_OPTIMIZATION") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_NEON_OPTIMIZATION") + SET(PKG_LDFLAGS "${PKG_LDFLAGS} -lmvec") endif() SET(LIB_NAME "${PROJECT_NAME}") -- 2.7.4