[gnome-sdk-images/gnome-3-20] mozjs24: Tuning for i386 and arm builds



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

    mozjs24: Tuning for i386 and arm 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 i386.
    
    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 |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/org.gnome.Sdk.json.in b/org.gnome.Sdk.json.in
index ba55596..5825224 100644
--- a/org.gnome.Sdk.json.in
+++ b/org.gnome.Sdk.json.in
@@ -534,6 +534,20 @@
         },
         {
             "name": "mozjs24",
+            "build-options" : {
+                "arch" : {
+                    "i386" : {
+                        "config-opts" : [
+                            "--host=i586-unknown-linux-gnu"
+                        ]
+                    },
+                   "arm" : {
+                        "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]