summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2016-05-01 15:37:49 -0400
committerAlexander Larsson <alexl@redhat.com>2016-05-17 09:50:28 +0200
commit73f1cc8d8b0787eb68b2e3c9df6eb82ccd5ecdaa (patch)
tree0d505cc0e3e3e4ded960316a1c854a6bb9bd39b0
parent1433ded8f086b7e99293b5ed5213f8177b8ddd37 (diff)
gstreamer plugins: Tune builds for i386 and arm
GStreamer plugins tend to produce assembly code in some places, for this reason it's important to explicitly specify the build triple so that it chooses to generate the right code for the target platform. https://bugs.freedesktop.org/show_bug.cgi?id=95441
-rw-r--r--org.freedesktop.Sdk.json.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/org.freedesktop.Sdk.json.in b/org.freedesktop.Sdk.json.in
index b0c7998..f51e376 100644
--- a/org.freedesktop.Sdk.json.in
+++ b/org.freedesktop.Sdk.json.in
@@ -1645,6 +1645,20 @@
},
{
"name": "gstreamer-plugins-good",
+ "build-options" : {
+ "arch" : {
+ "i386" : {
+ "config-opts" : [
+ "--build=i586-unknown-linux-gnu"
+ ]
+ },
+ "arm" : {
+ "config-opts" : [
+ "--build=arm-unknown-linux-gnueabi"
+ ]
+ }
+ }
+ },
"config-opts": ["--disable-gtk-doc",
"--enable-experimental",
"--enable-orc" ,
@@ -1665,6 +1679,20 @@
{
"name": "gstreamer-plugins-bad",
"config-opts": ["--disable-gtk-doc", "--enable-experimental", "--enable-orc" ],
+ "build-options" : {
+ "arch" : {
+ "i386" : {
+ "config-opts" : [
+ "--build=i586-unknown-linux-gnu"
+ ]
+ },
+ "arm" : {
+ "config-opts" : [
+ "--build=arm-unknown-linux-gnueabi"
+ ]
+ }
+ }
+ },
"sources": [
{
"type": "archive",