Package: openni / 1.5.4.0+dfsg-4

0017-Remove-wrong-compiler-flags-for-arm.patch Patch series | 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
From: Peter Green <plugwash@debian.org>
Date: Fri, 19 Oct 2018 23:56:23 +0200
Subject: Remove wrong compiler flags for arm.

---
 Externals/PSCommon/Linux/Build/Platform.Arm | 3 ---
 Platform/Linux/Build/Common/Platform.Arm    | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/Externals/PSCommon/Linux/Build/Platform.Arm b/Externals/PSCommon/Linux/Build/Platform.Arm
index 2341ed0..7a1f193 100644
--- a/Externals/PSCommon/Linux/Build/Platform.Arm
+++ b/Externals/PSCommon/Linux/Build/Platform.Arm
@@ -1,8 +1,5 @@
 ifeq "$(CFG)" "Release"
 
-    # Hardware specifying flags
-    CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon #-mcpu=cortex-a8
-
     # Optimization level, minus currently buggy optimizing methods (which break bit-exact)
     CFLAGS += -O3 -fno-tree-pre -fno-strict-aliasing
 
diff --git a/Platform/Linux/Build/Common/Platform.Arm b/Platform/Linux/Build/Common/Platform.Arm
index 07144a3..4d15881 100644
--- a/Platform/Linux/Build/Common/Platform.Arm
+++ b/Platform/Linux/Build/Common/Platform.Arm
@@ -6,9 +6,6 @@ export GLUT_SUPPORTED=1
 
 ifeq "$(CFG)" "Release"
 
-    # Hardware specifying flags
-    CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon #-mcpu=cortex-a8
-
     # Optimization level, minus currently buggy optimizing methods (which break bit-exact)
     CFLAGS += -O3 -fno-tree-pre -fno-strict-aliasing