cb531f3e0d
Ruby 2.2.7 Released 2017/3/28 Ruby 2.2.7 has been released. This release includes about 70 bug fixes after the previous release. See the ChangeLog for details. After this release, we will end the normal maintenance phase of Ruby 2.2, and start the security maintenance phase of it. This means that after the release of 2.2.7 we will never backport any bug fixes to 2.2 except security fixes. The term of the security maintenance phase is scheduled for 1 year. By the end of this term, official support of Ruby 2.2 will be over. Therefore, we recommend that you start planning to upgrade to Ruby 2.4 or 2.3.
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
# $NetBSD: hacks.mk,v 1.2 2017/04/09 15:49:50 taca Exp $
|
|
|
|
.if !defined(RUBY22_BASE_HACKS_MK)
|
|
RUBY22_BASE_HACKS_MK= defined
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
### [ Sun Jun 5 10:05:39 CEST 2005 : seb ]
|
|
### On NetBSD/sparc64, gcc optimisation, at least for version 3.3.3,
|
|
### produces segmentation faulting miniruby binary.
|
|
### Also note that `-O' level optimisation produces a miniruby
|
|
### binary that loops while running the installation scripts.
|
|
###
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
|
|
. if !empty(CC_VERSION:Mgcc-3.3.*)
|
|
PKG_HACKS+= optimisation
|
|
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
|
|
. endif
|
|
### ruby193 binary built on NetBSD/sparc64 with gcc 4.5.1 and the default -O2
|
|
### dumps core during generating RDocs.
|
|
### Using -O1 works around.
|
|
. if !empty(CC_VERSION:Mgcc-4.5.*)
|
|
PKG_HACKS+= optimisation
|
|
BUILDLINK_TRANSFORM+= opt:-O2:-O1
|
|
. endif
|
|
.endif
|
|
|
|
# On NetBSD/sh3el 6.0, the default -Os causes an error on compiling node.c:
|
|
# {standard input}: Assembler messages: {standard input}:1458: \
|
|
# Error: pcrel too far
|
|
# and -O1 works around.
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sh3*) && !empty(CC_VERSION:Mgcc-4.5.*)
|
|
PKG_HACKS+= optimisation
|
|
BUILDLINK_TRANSFORM+= opt:-Os:-O1 rm:-freorder-blocks
|
|
.endif
|
|
|
|
.endif # RUBY22_BASE_HACKS_MK
|