diff mbox series

[2/2] flac: Enable VSX when vsx is in tune features

Message ID 20191206013237.3105393-2-raj.khem@gmail.com
State Accepted
Commit cd38be40cd2d65787dd6f6f6667c320f4865716e
Headers show
Series [1/2] libffi: Fix build on ppc64 | expand

Commit Message

Khem Raj Dec. 6, 2019, 1:32 a.m. UTC
This ensures that, support is not enabled for machines which do not
support VSX

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/recipes-multimedia/flac/flac_1.3.3.bb | 1 +
 1 file changed, 1 insertion(+)

-- 
2.24.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-multimedia/flac/flac_1.3.3.bb b/meta/recipes-multimedia/flac/flac_1.3.3.bb
index fea2be1f6b..cb6692aedf 100644
--- a/meta/recipes-multimedia/flac/flac_1.3.3.bb
+++ b/meta/recipes-multimedia/flac/flac_1.3.3.bb
@@ -33,6 +33,7 @@  EXTRA_OECONF = "--disable-oggtest \
                 "
 
 EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "altivec", " --enable-altivec", " --disable-altivec", d)}"
+EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "vsx", " --enable-vsx", " --disable-vsx", d)}"
 EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "core2", " --enable-sse", "", d)}"
 EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "corei7", " --enable-sse", "", d)}"