components/ruby/Makefile
changeset 1289 e1ceeaee8d00
parent 1282 16201bef295c
child 1392 812d4bf54f42
--- a/components/ruby/Makefile	Fri May 03 00:11:11 2013 -0700
+++ b/components/ruby/Makefile	Fri May 03 17:33:15 2013 -0700
@@ -119,7 +119,10 @@
 # unreferenced symbol tgetent in libreadline, similar to CR #6919344
 LD_Z_IGNORE=
 
-ASLR_MODE = $(ASLR_ENABLE)
+# keep ASLR disabled:
+# when building ruby, miniruby (used for boot-strapping ruby) may
+# core dump on sparc with ASLR enabled
+ASLR_MODE = $(ASLR_DISABLE)
 
 CONFIGURE_PREFIX =	$(USRDIR)/$(COMPONENT_NAME)/$(RUBY_VER)
 CONFIGURE_OPTIONS += $(DTRACE_FLAG)