diff options
author | jlam <jlam@pkgsrc.org> | 2004-11-16 22:44:51 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-11-16 22:44:51 +0000 |
commit | 1f652193aedd01030ec4725a8b2fa10d83f79c0b (patch) | |
tree | 00341057a54944f5d6a26484cedef7b65ceb7d1d /lang/tcl/hacks.mk | |
parent | 96f0797e8611a16f5e907aa27cf3c6524286d51e (diff) | |
download | pkgsrc-1f652193aedd01030ec4725a8b2fa10d83f79c0b.tar.gz |
Migrate OS/architecture hacks for correct compilation to a separate
hacks.mk file.
Diffstat (limited to 'lang/tcl/hacks.mk')
-rw-r--r-- | lang/tcl/hacks.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/tcl/hacks.mk b/lang/tcl/hacks.mk new file mode 100644 index 00000000000..d818263d071 --- /dev/null +++ b/lang/tcl/hacks.mk @@ -0,0 +1,14 @@ +# $NetBSD: hacks.mk,v 1.1 2004/11/16 22:44:51 jlam Exp $ + +### [Wed Jul 25 19:42:58 UTC 2001 : jlam] +### Force no optimization (-O0) on NetBSD-1.5.x/m68k machines as there +### appears to be an optimization bug that causes the build to fail +### (pkg/13395). The problem appeared in the original PR on an Amiga +### running NetBSD 1.5.1 and also on a mac68k running NetBSD 1.5.1. +### This workaround was tested on the mac68k system (kindly provided +### by Jon Lindgren). +### +.if !empty(MACHINE_PLATFORM:MNetBSD-1.5*-m68k) +PKG_HACKS+= netbsd-1-5-m68k-codegen +BUILDLINK_TRANSFORM+= rm:-O[0-9]* +.endif |