diff options
author | mrg <mrg@pkgsrc.org> | 2019-02-07 10:07:21 +0000 |
---|---|---|
committer | mrg <mrg@pkgsrc.org> | 2019-02-07 10:07:21 +0000 |
commit | e388e9996f20c2d95bd7de91d9953e18ed2b703e (patch) | |
tree | 4b3a81570d05548ed68ec50ef94c625395a0a6eb /lang/ruby26-base | |
parent | 27413491f3f11b0b32e324b48117963b66c3367d (diff) | |
download | pkgsrc-e388e9996f20c2d95bd7de91d9953e18ed2b703e.tar.gz |
apply the gcc6.5 and arm64 hack to gcc [67].*. fixes arm64 builds on gcc7.
Diffstat (limited to 'lang/ruby26-base')
-rw-r--r-- | lang/ruby26-base/hacks.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ruby26-base/hacks.mk b/lang/ruby26-base/hacks.mk index ba37ec408f5..9bef9537ac9 100644 --- a/lang/ruby26-base/hacks.mk +++ b/lang/ruby26-base/hacks.mk @@ -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 @@ BUILDLINK_TRANSFORM+= opt:-Os:-O1 rm:-freorder-blocks # 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 |