summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-12-05 17:32:37 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-09 11:56:41 +0000
commitcd38be40cd2d65787dd6f6f6667c320f4865716e (patch)
tree80a57c8a8bd741bfbb54fe8dde0196a63c314173
parentec6d1e337f36d75588133d5b6988ee438600b8ad (diff)
downloadopenembedded-core-contrib-cd38be40cd2d65787dd6f6f6667c320f4865716e.tar.gz
openembedded-core-contrib-cd38be40cd2d65787dd6f6f6667c320f4865716e.tar.bz2
openembedded-core-contrib-cd38be40cd2d65787dd6f6f6667c320f4865716e.zip
flac: Enable VSX when vsx is in tune features
This ensures that, support is not enabled for machines which do not support VSX Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-multimedia/flac/flac_1.3.3.bb1
1 files changed, 1 insertions, 0 deletions
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)}"