diff options
author | jlam <jlam@pkgsrc.org> | 2004-11-14 08:00:14 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-11-14 08:00:14 +0000 |
commit | 4bed44310db585ce673cfd4daa5fbc804aa0a41a (patch) | |
tree | 8d3f7a3a64d823b646d7a4f0ae3cc08477f2c6b2 /lang | |
parent | 201a688e308a207e0f1c3f02de1b5b11381d5455 (diff) | |
download | pkgsrc-4bed44310db585ce673cfd4daa5fbc804aa0a41a.tar.gz |
Narrow down the scope of the powerpc-codegen hack to only NetBSD/powerpc
as there aren't reports from other OSes yet (it's likely okay using
Darwin).
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl58/hacks.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/perl58/hacks.mk b/lang/perl58/hacks.mk index da61caba222..6ec987e9e4d 100644 --- a/lang/perl58/hacks.mk +++ b/lang/perl58/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.2 2004/11/14 07:50:58 jlam Exp $ +# $NetBSD: hacks.mk,v 1.3 2004/11/14 08:00:14 jlam Exp $ .include "../../mk/compiler.mk" @@ -30,7 +30,7 @@ CFLAGS+= -DDEBUGGING -g -msoft-quad-float -O2 ### to free unreference scalar". Remove optimisation flags as a ### workaround until GCC is fixed. ### -.if !empty(CC_VERSION:Mgcc*) && (${MACHINE_ARCH} == "powerpc") +.if !empty(CC_VERSION:Mgcc*) && !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) PKG_HACKS+= powerpc-codegen BUILDLINK_TRANSFORM+= rm:-O[0-9]* .endif |