[OE-core] [PATCH] gcc-runtime: Enable libmpx for x86-64

Mikko Ylinen mikko.ylinen at linux.intel.com
Wed Mar 8 12:57:40 UTC 2017


Intel MPX was recently enabled on x86 (_append_x86) but that didn't
enable it on x86-64. Explicitly enable libmpx on x86-64 too.

Signed-off-by: Mikko Ylinen <mikko.ylinen at linux.intel.com>
---
 meta/recipes-devtools/gcc/gcc-runtime.inc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index a5be491ad3..0dc405c591 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -25,6 +25,7 @@ RUNTIMETARGET = "libssp libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \
     ${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'libquadmath', '', d)} \
 "
 RUNTIMETARGET_append_x86 = " libmpx"
+RUNTIMETARGET_append_x86-64 = " libmpx"
 RUNTIMETARGET_remove_libc-musl = "libmpx"
 
 # libiberty
@@ -146,6 +147,12 @@ PACKAGES_append_x86 = "\
     libmpx-staticdev \
 "
 
+PACKAGES_append_x86-64 = "\
+    libmpx \
+    libmpx-dev \
+    libmpx-staticdev \
+"
+
 # The base package doesn't exist, so we clear the recommends.
 RRECOMMENDS_${PN}-dbg = ""
 
-- 
2.11.0




More information about the Openembedded-core mailing list