[gnome-sdk-images/gnome-3-26] mozjs52: Adjust build flags on ARM



commit d48102fdcdf96dfb9881600ffd92432151c9fb11
Author: Philip Chimento <philip endlessm com>
Date:   Wed Nov 8 14:05:08 2017 -0800

    mozjs52: Adjust build flags on ARM
    
    Without this, js52 and gjs crash immediately upon startup on ARM. The fix
    is suggested by https://bugzilla.mozilla.org/show_bug.cgi?id=1337263
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790097

 org.gnome.Sdk.json.in |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/org.gnome.Sdk.json.in b/org.gnome.Sdk.json.in
index 12a5898..1eebe8b 100644
--- a/org.gnome.Sdk.json.in
+++ b/org.gnome.Sdk.json.in
@@ -522,6 +522,15 @@
         },
         {
             "name": "mozjs52",
+            "build-options": {
+                "arch" : {
+                    "arm" : {
+                        /* Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1337263. See 
https://bugzilla.gnome.org/show_bug.cgi?id=790097 */
+                        "cflags": "-fno-schedule-insns",
+                        "cxxflags": "-fno-schedule-insns"
+                    }
+                }
+            },
             "config-opts": [  "--enable-posix-nspr-emulation",
                               "--with-system-zlib",
                               "--without-system-icu",


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