[gnome-sdk-images/wip/tvb/aarch64: 6/9] mozjs24: Tuning for i686 and armv7a builds



commit 488918175e971d17a10b1783b21929d46fa26290
Author: Tristan Van Berkom <tristan vanberkom codethink co uk>
Date:   Tue May 3 19:09:46 2016 -0400

    mozjs24: Tuning for i686 and armv7a builds
    
    This module generates target dependent assembly code
    and as such must be informed of the target triple. Failing
    to do so can result in generation of x86_64 specific instructions
    when targetting i686.

 org.gnome.Sdk.json.in |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/org.gnome.Sdk.json.in b/org.gnome.Sdk.json.in
index 6bb1d29..65a2c72 100644
--- a/org.gnome.Sdk.json.in
+++ b/org.gnome.Sdk.json.in
@@ -512,6 +512,20 @@
         },
         {
             "name": "mozjs24",
+            "build-options" : {
+                "arch" : {
+                    "i686" : {
+                        "config-opts" : [
+                            "--host=i686-unknown-linux-gnu"
+                        ]
+                    },
+                   "armv7a" : {
+                        "config-opts" : [
+                            "--host=arm-unknown-linux-gnueabi"
+                       ]
+                   }
+                }
+            },
             "config-opts": [  "--disable-static",
                               "--with-system-nspr",
                               "--enable-threadsafe",


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