[gnome-sdk-images/wip/tvb/aarch64: 7/9] gstreamer plugins: Tune builds for i386 and arm



commit f0712d8998e11974eb554ac13fb853c7575a6d5b
Author: Tristan Van Berkom <tristan vanberkom codethink co uk>
Date:   Tue May 3 19:08:49 2016 -0400

    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.
    
    Note: on i386 we specify i586-unknown-linux-gnu because that is
    the triple of the compiler we have in the base runtime.

 org.gnome.Sdk.json.in |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/org.gnome.Sdk.json.in b/org.gnome.Sdk.json.in
index cc688e0..fae934e 100644
--- a/org.gnome.Sdk.json.in
+++ b/org.gnome.Sdk.json.in
@@ -408,6 +408,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" ,
                             "--disable-monoscope",
                             "--disable-aalib",
@@ -424,6 +438,20 @@
         },
         {
             "name": "gstreamer-plugins-bad",
+            "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" ],
             "sources": [
                 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]