components/gnome/gjs/Makefile
changeset 7153 1c6a8ad221bd
parent 6386 3e1cffd89159
child 7206 23066e5fef27
--- a/components/gnome/gjs/Makefile	Mon Oct 24 11:29:14 2016 -0700
+++ b/components/gnome/gjs/Makefile	Mon Oct 24 08:37:38 2016 -0700
@@ -58,6 +58,11 @@
 CONFIGURE_OPTIONS += --with-gtk
 CONFIGURE_OPTIONS += --with-pic
 
+# Workaround the mozjs issue described in 24935318 
+ifeq ($(MACH),sparc)
+COMPONENT_BUILD_ENV.64 += LD_OPTIONS="$(LD_OPTIONS) -M$(PWD)/mapfile"
+endif
+
 # Required due to patches.
 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);