pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/ruby25-base
Module Name: pkgsrc
Committed By: roy
Date: Sat Dec 22 03:53:24 UTC 2018
Modified Files:
pkgsrc/lang/ruby25-base: hacks.mk
Log Message:
ruby does not like -fomit-frame-pointer on NetBSD/aarch64
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/ruby25-base/hacks.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/ruby25-base/hacks.mk
diff -u pkgsrc/lang/ruby25-base/hacks.mk:1.1 pkgsrc/lang/ruby25-base/hacks.mk:1.2
--- pkgsrc/lang/ruby25-base/hacks.mk:1.1 Mon Jan 8 14:19:06 2018
+++ pkgsrc/lang/ruby25-base/hacks.mk Sat Dec 22 03:53:24 2018
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2018/01/08 14:19:06 taca Exp $
+# $NetBSD: hacks.mk,v 1.2 2018/12/22 03:53:24 roy Exp $
.if !defined(RUBY24_BASE_HACKS_MK)
RUBY24_BASE_HACKS_MK= defined
@@ -34,4 +34,11 @@ PKG_HACKS+= optimisation
BUILDLINK_TRANSFORM+= opt:-Os:-O1 rm:-freorder-blocks
.endif
+# On NetBSD/aarch64, gcc optimisation produces segmentation faulting
+# miniruby binary.
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && !empty(CC_VERSION:Mgcc-6.5.*)
+PKG_HACKS+= optimisation
+BUILDLINK_TRANSFORM+= rm:-fomit-frame-pointer
+.endif
+
.endif # RUBY24_BASE_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index