mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
28 lines
871 B
Diff
28 lines
871 B
Diff
From abed0c91771f3349120505a28e3fe32de951f459 Mon Sep 17 00:00:00 2001
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
Date: Sat, 9 Dec 2017 10:20:06 -0700
|
|
Subject: [PATCH 1/2] no neon
|
|
|
|
---
|
|
cmake/modules/SIMDExt.cmake | 5 +----
|
|
1 file changed, 1 insertion(+), 4 deletions(-)
|
|
|
|
diff --git a/cmake/modules/SIMDExt.cmake b/cmake/modules/SIMDExt.cmake
|
|
index 5330835aa1..0708867de5 100644
|
|
--- a/cmake/modules/SIMDExt.cmake
|
|
+++ b/cmake/modules/SIMDExt.cmake
|
|
@@ -68,10 +68,7 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64")
|
|
|
|
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm|ARM")
|
|
set(HAVE_ARM 1)
|
|
- CHECK_C_COMPILER_FLAG(-mfpu=neon HAVE_ARM_NEON)
|
|
- if(HAVE_ARM_NEON)
|
|
- set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -mfpu=neon")
|
|
- endif()
|
|
+ set(HAVE_ARM_NEON 0)
|
|
|
|
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "i386|i686|amd64|x86_64|AMD64")
|
|
set(HAVE_INTEL 1)
|
|
--
|
|
2.15.1
|
|
|