aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi/recipes-multimedia/audiomanager/audiomanagerplugins/make-host-always-use-64bit-tools.patch
blob: f3dd97ea27e1d597753add0768c0d1ed5da25f9c (plain)
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
diff --git a/PluginCommandInterfaceCAPI/cmake/CommonAPI.cmake b/PluginCommandInterfaceCAPI/cmake/CommonAPI.cmake
index 3db1f4a..7b34223 100644
--- a/PluginCommandInterfaceCAPI/cmake/CommonAPI.cmake
+++ b/PluginCommandInterfaceCAPI/cmake/CommonAPI.cmake
@@ -119,11 +119,7 @@ ENDMACRO()
 
 # helper function giving a string with the current architecture
 function(GET_TARGET_ARCH OUT_ARCH)  
-    IF(CMAKE_SIZEOF_VOID_P EQUAL 8) 
-        SET(${OUT_ARCH} "x86_64" PARENT_SCOPE)
-    ELSE() 
-        SET(${OUT_ARCH} "x86" PARENT_SCOPE)
-    ENDIF()  
+    SET(${OUT_ARCH} "x86_64" PARENT_SCOPE)
 endfunction()
 
 # helper function giving a string with the current host
diff --git a/PluginRoutingInterfaceCAPI/cmake/CommonAPI.cmake b/PluginRoutingInterfaceCAPI/cmake/CommonAPI.cmake
index 3db1f4a..7b34223 100644
--- a/PluginRoutingInterfaceCAPI/cmake/CommonAPI.cmake
+++ b/PluginRoutingInterfaceCAPI/cmake/CommonAPI.cmake
@@ -119,11 +119,7 @@ ENDMACRO()
 
 # helper function giving a string with the current architecture
 function(GET_TARGET_ARCH OUT_ARCH)  
-    IF(CMAKE_SIZEOF_VOID_P EQUAL 8) 
-        SET(${OUT_ARCH} "x86_64" PARENT_SCOPE)
-    ELSE() 
-        SET(${OUT_ARCH} "x86" PARENT_SCOPE)
-    ENDIF()  
+    SET(${OUT_ARCH} "x86_64" PARENT_SCOPE)
 endfunction()
 
 # helper function giving a string with the current host