File: 0002-Remove-settings-based-on-ARCH.patch

package info (click to toggle)
intel-media-driver-non-free 25.1.4%2Bds1-1
  • links: PTS, VCS
  • area: non-free
  • in suites: sid, trixie
  • size: 246,460 kB
  • sloc: cpp: 1,603,127; ansic: 1,183,378; asm: 39,161; python: 555; sh: 177; makefile: 16
file content (36 lines) | stat: -rw-r--r-- 1,040 bytes parent folder | download | duplicates (2)
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: Sebastian Ramacher <sebastian@ramacher.at>
Date: Mon, 10 Dec 2018 22:59:20 +0100
Subject: Remove settings based on ARCH

---
 media_driver/cmake/linux/media_compile_flags_linux.cmake | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/media_driver/cmake/linux/media_compile_flags_linux.cmake b/media_driver/cmake/linux/media_compile_flags_linux.cmake
index 0a211fd..69c6140 100755
--- a/media_driver/cmake/linux/media_compile_flags_linux.cmake
+++ b/media_driver/cmake/linux/media_compile_flags_linux.cmake
@@ -53,8 +53,6 @@ set(MEDIA_COMPILER_FLAGS_COMMON
 
     # Enable c++14 features
     -std=c++14
-    # -m32 or -m64
-    -m${ARCH}
 
     # Global defines
     -DLINUX=1
@@ -80,14 +78,6 @@ if(${UFO_MARCH} STREQUAL "slm")
     )
 endif()
 
-if(${ARCH} STREQUAL "64")
-    set(MEDIA_COMPILER_FLAGS_COMMON
-        ${MEDIA_COMPILER_FLAGS_COMMON}
-        -D_AMD64_
-        -D__CT__
-    )
-endif()
-
 if(NOT ${PLATFORM} STREQUAL "android")
     set(MEDIA_COMPILER_FLAGS_COMMON
         ${MEDIA_COMPILER_FLAGS_COMMON}