[gnome-build-meta/abderrahim/freedesktop-sdk-18.08.11-3.30: 21/26] sdk/gst-plugins-{bad, good}: pass --host option to configure on x86/arm



commit fdf0616da17cfd20fe659176d6c08cf7cf319874
Author: Abderrahim Kitouni <a kitouni gmail com>
Date:   Mon Sep 17 22:14:28 2018 +0100

    sdk/gst-plugins-{bad,good}: pass --host option to configure on x86/arm
    
    This can't be done for all elements at once because of a bug in buildstream
    https://gitlab.com/BuildStream/buildstream/issues/658

 elements/sdk/gst-plugins-bad.bst  | 7 +++++++
 elements/sdk/gst-plugins-good.bst | 7 +++++++
 2 files changed, 14 insertions(+)
---
diff --git a/elements/sdk/gst-plugins-bad.bst b/elements/sdk/gst-plugins-bad.bst
index 5f0fc36..ae28e06 100644
--- a/elements/sdk/gst-plugins-bad.bst
+++ b/elements/sdk/gst-plugins-bad.bst
@@ -47,7 +47,14 @@ depends:
 
 
 variables:
+  host: ''
+  (?):
+  - arch == "i386":
+      host: --host=i586-unknown-linux-gnu
+  - arch == "arm":
+      host: --host=arm-unknown-linux-gnueabi
   conf-local: |
+    %{host} \
     --enable-experimental \
     --enable-orc \
     --enable-introspection \
diff --git a/elements/sdk/gst-plugins-good.bst b/elements/sdk/gst-plugins-good.bst
index f2b9107..8b4ecdd 100644
--- a/elements/sdk/gst-plugins-good.bst
+++ b/elements/sdk/gst-plugins-good.bst
@@ -29,7 +29,14 @@ depends:
   type: runtime
 
 variables:
+  host: ''
+  (?):
+  - arch == "i386":
+      host: --host=i586-unknown-linux-gnu
+  - arch == "arm":
+      host: --host=arm-unknown-linux-gnueabi
   conf-local: |
+    %{host} \
     --enable-cairo \
     --enable-experimental \
     --enable-introspection \


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