packaging: provide 64bit libs on 32bit build env
authorChan Lee <chan45.lee@samsung.com>
Thu, 16 Mar 2017 05:29:15 +0000 (14:29 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Wed, 3 May 2023 10:47:12 +0000 (19:47 +0900)
In some cases, especially .Net toolchain needs 64bit libs to execute
even though 32bit build environment.
It's a little weird but possble because almost archtecture of build machine is 64bit.

Change-Id: I0582231028edf64b0cb8e751ec3aba3ccb8e0e0e
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
packaging/baselibs.conf

index dbf1ea9..64ffa79 100644 (file)
@@ -1,3 +1,4 @@
+arch x86_64 targets i586:64bit
 glibc
   arch i586 block!
   targettype x86 +/etc/ld.so.conf
@@ -8,16 +9,21 @@ glibc
   prereq -glibc-x86
   +/usr/lib/getconf/[^g]
 glibc-locale
+  arch x86_64 block!
   arch i586 block!
   +/usr/lib(64)?/gconv/gconv-modules
   targettype x86 -/usr/lib(64)?/gconv/gconv-modules
 glibc-devel
+  arch x86_64 block!
   requires "glibc-<targettype> = %version"
   arch i586 block!
   +^/usr/include/gnu/stubs-.*\.h$
 glibc-devel-static
+  arch x86_64 block!
   arch i586 block!
 glibc-profile
+  arch x86_64 block!
   arch i586 block!
 glibc-utils
+  arch x86_64 block!
   arch i586 block!