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



commit fc445475bf0eb42378cb66c946a9e316cd3678cf
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..92b5637 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" : [
+                            "--build=i686-unknown-linux-gnu"
+                        ]
+                    },
+                   "armv7a" : {
+                        "config-opts" : [
+                            "--build=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]