summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2015-05-17 12:57:16 +0000
committerbsiegert <bsiegert@pkgsrc.org>2015-05-17 12:57:16 +0000
commitd12b92f09a3d042bb7b4a3be3f0c6dc86a7d19f8 (patch)
tree25af46c84fdf31a871082d1312cdd1816c19b036 /lang/perl5
parent91899b04c5bbd87a3ca8603f460e2c2e341bdb9e (diff)
downloadpkgsrc-d12b92f09a3d042bb7b4a3be3f0c6dc86a7d19f8.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.mk12
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.