Debian Codegraph @

debian/patches/0002-Remove-settings-based-on-ARCH.patch

raw
1 From: Sebastian Ramacher <[email protected]>
2 Date: Mon, 10 Dec 2018 22:59:20 +0100
3 Subject: Remove settings based on ARCH
4
5 ---
6 media_driver/cmake/linux/media_compile_flags_linux.cmake | 10 ----------
7 1 file changed, 10 deletions(-)
8
9 diff --git a/media_driver/cmake/linux/media_compile_flags_linux.cmake b/media_driver/cmake/linux/media_compile_flags_linux.cmake
10 index 397e8c5..4487a73 100755
11 --- a/media_driver/cmake/linux/media_compile_flags_linux.cmake
12 +++ b/media_driver/cmake/linux/media_compile_flags_linux.cmake
13 @@ -54,8 +54,6 @@ set(MEDIA_COMPILER_FLAGS_COMMON
14
15 # Enable c++14 features
16 -std=c++14
17 - # -m32 or -m64
18 - -m${ARCH}
19
20 # Global defines
21 -DLINUX=1
22 @@ -81,14 +79,6 @@ if(${UFO_MARCH} STREQUAL "slm")
23 )
24 endif()
25
26 -if(${ARCH} STREQUAL "64")
27 - set(MEDIA_COMPILER_FLAGS_COMMON
28 - ${MEDIA_COMPILER_FLAGS_COMMON}
29 - -D_AMD64_
30 - -D__CT__
31 - )
32 -endif()
33 -
34 if(NOT ${PLATFORM} STREQUAL "android")
35 set(MEDIA_COMPILER_FLAGS_COMMON
36 ${MEDIA_COMPILER_FLAGS_COMMON}