]> code.ossystems Code Review - openembedded-core.git/commitdiff
libav: update i586 TARGET_ARCH test to also handle i686
authorAndre McCurdy <armccurdy@gmail.com>
Tue, 30 Jun 2015 22:28:50 +0000 (15:28 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Jul 2015 22:57:12 +0000 (23:57 +0100)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-multimedia/libav/libav.inc

index 6ef273bd88c7631e1fe2f44e8656fb27f9e5a158..d3f4b1b55d1ce8b355159bc04b584c28b46bf016 100644 (file)
@@ -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: