diff options
author | mrg <mrg@pkgsrc.org> | 2019-12-07 07:18:52 +0000 |
---|---|---|
committer | mrg <mrg@pkgsrc.org> | 2019-12-07 07:18:52 +0000 |
commit | f3dcf4ce635ed888513c8fc541b60d2789217324 (patch) | |
tree | 0639c80bfcbd0f0570b840bd38684fac2d0772c0 /lang/ruby26-base | |
parent | 34bf6fc8d9b9237a378127c69516bbd4a8f951fd (diff) | |
download | pkgsrc-f3dcf4ce635ed888513c8fc541b60d2789217324.tar.gz |
apply GCC hack for arm64 to all GCC versions until further notice.
fixes GCC-8 arm64 systems.
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 9bef9537ac9..86e0530b5b1 100644 --- a/lang/ruby26-base/hacks.mk +++ b/lang/ruby26-base/hacks.mk @@ -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 @@ 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-[67].*) +.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && !empty(CC_VERSION:Mgcc-*) PKG_HACKS+= optimisation BUILDLINK_TRANSFORM+= rm:-fomit-frame-pointer .endif |