pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang apply the gcc6.5 and arm64 hack to gcc [67].*. f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88ba6b729e3a
branches:  trunk
changeset: 391431:88ba6b729e3a
user:      mrg <mrg%pkgsrc.org@localhost>
date:      Thu Feb 07 10:07:21 2019 +0000

description:
apply the gcc6.5 and arm64 hack to gcc [67].*.  fixes arm64 builds on gcc7.

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 97fe6fcf55ab -r 88ba6b729e3a lang/ruby24-base/hacks.mk
--- a/lang/ruby24-base/hacks.mk Thu Feb 07 05:11:39 2019 +0000
+++ b/lang/ruby24-base/hacks.mk Thu Feb 07 10:07:21 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.2 2018/12/22 03:11:56 roy Exp $
+# $NetBSD: hacks.mk,v 1.3 2019/02/07 10:07:21 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-6.5.*)
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && !empty(CC_VERSION:Mgcc-[67].*)
 PKG_HACKS+=            optimisation
 BUILDLINK_TRANSFORM+=  rm:-fomit-frame-pointer
 .endif
diff -r 97fe6fcf55ab -r 88ba6b729e3a lang/ruby25-base/hacks.mk
--- a/lang/ruby25-base/hacks.mk Thu Feb 07 05:11:39 2019 +0000
+++ b/lang/ruby25-base/hacks.mk Thu Feb 07 10:07:21 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.2 2018/12/22 03:53:24 roy Exp $
+# $NetBSD: hacks.mk,v 1.3 2019/02/07 10:07:21 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-6.5.*)
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && !empty(CC_VERSION:Mgcc-[67].*)
 PKG_HACKS+=            optimisation
 BUILDLINK_TRANSFORM+=  rm:-fomit-frame-pointer
 .endif
diff -r 97fe6fcf55ab -r 88ba6b729e3a lang/ruby26-base/hacks.mk
--- a/lang/ruby26-base/hacks.mk Thu Feb 07 05:11:39 2019 +0000
+++ b/lang/ruby26-base/hacks.mk Thu Feb 07 10:07:21 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2019/02/03 13:41:33 taca Exp $
+# $NetBSD: hacks.mk,v 1.2 2019/02/07 10:07:21 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-6.5.*)
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && !empty(CC_VERSION:Mgcc-[67].*)
 PKG_HACKS+=            optimisation
 BUILDLINK_TRANSFORM+=  rm:-fomit-frame-pointer
 .endif



Home | Main Index | Thread Index | Old Index