[oe-commits] Andre McCurdy : libav: update i586 TARGET_ARCH test to also handle i686

git at git.openembedded.org git at git.openembedded.org
Wed Jul 8 12:10:06 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 0dd6690fea182a23a1fc2b0667af67ddc1f5d1e9
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0dd6690fea182a23a1fc2b0667af67ddc1f5d1e9

Author: Andre McCurdy <armccurdy at gmail.com>
Date:   Tue Jun 30 15:28:50 2015 -0700

libav: update i586 TARGET_ARCH test to also handle i686

Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-multimedia/libav/libav.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/libav/libav.inc b/meta/recipes-multimedia/libav/libav.inc
index 6ef273b..d3f4b1b 100644
--- a/meta/recipes-multimedia/libav/libav.inc
+++ b/meta/recipes-multimedia/libav/libav.inc
@@ -138,7 +138,7 @@ python populate_packages_prepend() {
                       prepend=True,
                       allow_links=True)
 
-    if d.getVar('TARGET_ARCH', True) == 'i586':
+    if d.getVar('TARGET_ARCH', True) in [ 'i586', 'i686' ]:
         # libav can't be build with -fPIC for 32-bit x86
         pkgs = d.getVar('PACKAGES', True).split()
         for pkg in pkgs:



More information about the Openembedded-commits mailing list