File: 0004-remove_inappropriate_arm_flags.patch

package info (click to toggle)
mixxx 2.5.3%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 151,336 kB
  • sloc: cpp: 238,395; xml: 217,434; javascript: 108,018; ansic: 25,966; sh: 4,713; python: 2,820; makefile: 206; perl: 49; sql: 47
file content (44 lines) | stat: -rw-r--r-- 1,622 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From: Peter Micheal Green <plugwash@debian.org>
Date: Fri, 10 Jan 2020 22:31:36 +0100
Subject: remove_inappropriate_arm_flags

---
 CMakeLists.txt | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index eb6bac1..306d1ee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -530,11 +530,11 @@ elseif(GNU_GCC OR LLVM_CLANG)
         # TODO(rryan): macOS can use SSE3, and possibly SSE 4.1 once
         # we require macOS 10.12.
         # https://stackoverflow.com/questions/45917280/mac-osx-minumum-support-sse-version
-      elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|armv7.*)$") # but not armv8
-        add_compile_options(
-          -mfloat-abi=hard
-          -mfpu=neon
-        )
+      #elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|armv7.*)$") # but not armv8
+      #  add_compile_options(
+      #    -mfloat-abi=hard
+      #    -mfpu=neon
+      #  )
       endif()
       # this sets macros __SSE2_MATH__ __SSE_MATH__ __SSE2__ __SSE__
       # This should be our default build for distribution
@@ -554,10 +554,10 @@ elseif(GNU_GCC OR LLVM_CLANG)
       # macros like __SSE2_MATH__ __SSE_MATH__ __SSE2__ __SSE__
       # are set automatically
       if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|armv7.*)$") # but not armv8
-        add_compile_options(
-          -mfloat-abi=hard
-          -mfpu=neon
-        )
+      #  add_compile_options(
+      #    -mfloat-abi=hard
+      #    -mfpu=neon
+      #  )
       endif()
     elseif(OPTIMIZE STREQUAL "legacy")
       if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(i[3456]86|x86|x64|x86_64|AMD64)$")