Skip to contentSkip to conversation

gcc-runtime: Enable libmpx for x86-64

PATCH New Mikko Ylinen 1 participant 1 message Mar 8, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc-runtime: Enable libmpx for x86-64

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.

---
 meta/recipes-devtools/gcc/gcc-runtime.inc | 7 +++++++
 1 file changed, 7 insertions(+)
meta/recipes-devtools/gcc/gcc-runtime.inc +7 -0
index a5be491ad3..0dc405c591 100644
@@ -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 = ""
 
Signature · 1 line
2.11.0