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



commit c7382e0113d64b8b2fbab72f4613d22e54ad5901
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 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/org.gnome.Sdk.json.in b/org.gnome.Sdk.json.in
index a41696f..f3dc7de 100644
--- a/org.gnome.Sdk.json.in
+++ b/org.gnome.Sdk.json.in
@@ -640,6 +640,9 @@
                         ]
                     },
                     "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" : [
                             "--host=arm-unknown-linux-gnueabi"
                         ]


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