From 277db77dd8a596c47f10803983f41fba6d797769 Mon Sep 17 00:00:00 2001 From: jperkin Date: Mon, 15 Dec 2014 11:46:34 +0000 Subject: The "rename" rule is a published synonym for the "opt" transform rule, however only the latter is supported by cwrappers. Change them all to "opt" rules for consistency and to gain compatibility with cwrappers. --- lang/ruby200-base/hacks.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lang/ruby200-base') diff --git a/lang/ruby200-base/hacks.mk b/lang/ruby200-base/hacks.mk index 9e493eed48b..0944c416aed 100644 --- a/lang/ruby200-base/hacks.mk +++ b/lang/ruby200-base/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.1 2013/07/21 02:32:58 taca Exp $ +# $NetBSD: hacks.mk,v 1.2 2014/12/15 11:46:35 jperkin Exp $ .if !defined(RUBY200_BASE_HACKS_MK) RUBY200_BASE_HACKS_MK= defined @@ -21,7 +21,7 @@ BUILDLINK_TRANSFORM+= rm:-O[0-9]* ### Using -O1 works around. . if !empty(CC_VERSION:Mgcc-4.5.*) PKG_HACKS+= optimisation -BUILDLINK_TRANSFORM+= rename:-O2:-O1 +BUILDLINK_TRANSFORM+= opt:-O2:-O1 . endif .endif @@ -31,7 +31,7 @@ BUILDLINK_TRANSFORM+= rename:-O2:-O1 # and -O1 works around. .if !empty(MACHINE_PLATFORM:MNetBSD-*-sh3*) && !empty(CC_VERSION:Mgcc-4.5.*) PKG_HACKS+= optimisation -BUILDLINK_TRANSFORM+= rename:-Os:-O1 rm:-freorder-blocks +BUILDLINK_TRANSFORM+= opt:-Os:-O1 rm:-freorder-blocks .endif .endif # RUBY200_BASE_HACKS_MK -- cgit v1.2.3