Skip to contentSkip to conversation

libgpg-error: Fix native build on i686

PATCH New Gary Thomas 1 participant 1 message Apr 8, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libgpg-error: Fix native build on i686

Most modern x86 systems return i686 as the system type. This patch handles i486, i586 and i686 correctly.

---
 meta/recipes-support/libgpg-error/libgpg-error_1.18.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libgpg-error/libgpg-error_1.18.bb +1 -1
index 6d11605..268066b 100644
@@ -30,7 +30,7 @@ do_compile_prepend() {
 	  aarch64)    TUPLE=aarch64-unknown-linux-gnu ;;
 	  arm)	      TUPLE=arm-unknown-linux-gnueabi ;;
 	  armeb)      TUPLE=arm-unknown-linux-gnueabi ;;
-	  i586)       TUPLE=i486-pc-linux-gnu ;;
+	  i586|i686)  TUPLE=i486-pc-linux-gnu ;;
 	  mipsel)     TUPLE=mipsel-unknown-linux-gnu ;;
 	  mips64el)   TUPLE=mipsel-unknown-linux-gnu ;;
 	  mips64)     TUPLE=mips-unknown-linux-gnu ;;
Signature · 1 line
1.9.1