diff options
author | bsiegert <bsiegert> | 2015-05-17 12:57:16 +0000 |
---|---|---|
committer | bsiegert <bsiegert> | 2015-05-17 12:57:16 +0000 |
commit | 8f0f25c2dfb9b7230c7bbe3e9d831eaea739028a (patch) | |
tree | 25af46c84fdf31a871082d1312cdd1816c19b036 /lang/perl5 | |
parent | 91df44140acd4db3dff45840de908f1569786b8f (diff) | |
download | pkgsrc-8f0f25c2dfb9b7230c7bbe3e9d831eaea739028a.tar.gz |
Remove powerpc compiler workaround that was put in place 11 years ago.
According to John D. Baker in PR pkg/49598, this helps compiling perl on
his PowerPC system.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/hacks.mk | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lang/perl5/hacks.mk b/lang/perl5/hacks.mk index 1c0ba00aa4f..a7df8724d0a 100644 --- a/lang/perl5/hacks.mk +++ b/lang/perl5/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.15 2015/05/15 14:32:27 ryoon Exp $ +# $NetBSD: hacks.mk,v 1.16 2015/05/17 12:57:16 bsiegert Exp $ .if !defined(PERL5_HACKS_MK) PERL5_HACKS_MK= defined @@ -28,16 +28,6 @@ CFLAGS+= -DDEBUGGING -g -msoft-quad-float -O2 . endif .endif -### [Sun Nov 14 02:35:50 EST 2004 : jlam] -### On PowerPC, building with optimisation with GCC causes an "attempt -### to free unreference scalar". Remove optimisation flags as a -### workaround until GCC is fixed. -### -.if !empty(CC_VERSION:Mgcc*) && !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) -PKG_HACKS+= powerpc-codegen -BUILDLINK_TRANSFORM+= rm:-O[0-9]* -.endif - ### [Mon May 9 15:35:44 UTC 2005 : jlam] ### On NetBSD/arm, skipping one part of the optimization pass empirically ### "fixes" the build of perl using gcc-3.x. |