pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang apply GCC hack for arm64 to all GCC versions unti...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/259894cc5a2f
branches:  trunk
changeset: 418885:259894cc5a2f
user:      mrg <mrg%pkgsrc.org@localhost>
date:      Sat Dec 07 07:18:52 2019 +0000

description:
apply GCC hack for arm64 to all GCC versions until further notice.
fixes GCC-8 arm64 systems.

diffstat:

 lang/ruby24-base/hacks.mk |  4 ++--
 lang/ruby25-base/hacks.mk |  4 ++--
 lang/ruby26-base/hacks.mk |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 7a41e6b8963c -r 259894cc5a2f lang/ruby24-base/hacks.mk
--- a/lang/ruby24-base/hacks.mk Sat Dec 07 05:34:10 2019 +0000
+++ b/lang/ruby24-base/hacks.mk Sat Dec 07 07:18:52 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.3 2019/02/07 10:07:21 mrg Exp $
+# $NetBSD: hacks.mk,v 1.4 2019/12/07 07:18:52 mrg Exp $
 
 .if !defined(RUBY24_BASE_HACKS_MK)
 RUBY24_BASE_HACKS_MK=  defined
@@ -36,7 +36,7 @@
 
 # On NetBSD/aarch64, gcc optimisation produces segmentation faulting
 # miniruby binary.
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && !empty(CC_VERSION:Mgcc-[67].*)
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && !empty(CC_VERSION:Mgcc-*)
 PKG_HACKS+=            optimisation
 BUILDLINK_TRANSFORM+=  rm:-fomit-frame-pointer
 .endif
diff -r 7a41e6b8963c -r 259894cc5a2f lang/ruby25-base/hacks.mk
--- a/lang/ruby25-base/hacks.mk Sat Dec 07 05:34:10 2019 +0000
+++ b/lang/ruby25-base/hacks.mk Sat Dec 07 07:18:52 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.3 2019/02/07 10:07:21 mrg Exp $
+# $NetBSD: hacks.mk,v 1.4 2019/12/07 07:18:52 mrg Exp $
 
 .if !defined(RUBY24_BASE_HACKS_MK)
 RUBY24_BASE_HACKS_MK=  defined
@@ -36,7 +36,7 @@
 
 # On NetBSD/aarch64, gcc optimisation produces segmentation faulting
 # miniruby binary.
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && !empty(CC_VERSION:Mgcc-[67].*)
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && !empty(CC_VERSION:Mgcc-*)
 PKG_HACKS+=            optimisation
 BUILDLINK_TRANSFORM+=  rm:-fomit-frame-pointer
 .endif
diff -r 7a41e6b8963c -r 259894cc5a2f lang/ruby26-base/hacks.mk
--- a/lang/ruby26-base/hacks.mk Sat Dec 07 05:34:10 2019 +0000
+++ b/lang/ruby26-base/hacks.mk Sat Dec 07 07:18:52 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.2 2019/02/07 10:07:21 mrg Exp $
+# $NetBSD: hacks.mk,v 1.3 2019/12/07 07:18:52 mrg Exp $
 
 .if !defined(RUBY24_BASE_HACKS_MK)
 RUBY24_BASE_HACKS_MK=  defined
@@ -36,7 +36,7 @@
 
 # On NetBSD/aarch64, gcc optimisation produces segmentation faulting
 # miniruby binary.
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && !empty(CC_VERSION:Mgcc-[67].*)
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && !empty(CC_VERSION:Mgcc-*)
 PKG_HACKS+=            optimisation
 BUILDLINK_TRANSFORM+=  rm:-fomit-frame-pointer
 .endif



Home | Main Index | Thread Index | Old Index