diff options
author | tron <tron@pkgsrc.org> | 2005-07-01 15:32:51 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2005-07-01 15:32:51 +0000 |
commit | c4befc9e3217d87f34d5ef9ab007cc36cfc09347 (patch) | |
tree | 7f4120170de647ecaafe7767e169155e55463a2f /databases | |
parent | bb1586826345a1f689cd01a62ce89a62064e422e (diff) | |
download | pkgsrc-c4befc9e3217d87f34d5ef9ab007cc36cfc09347.tar.gz |
Disable optimizations for GCC <3.4. This fixes PR pkg/30647 by Ian Spray.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/db4/hacks.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/databases/db4/hacks.mk b/databases/db4/hacks.mk index a55730ec02f..161dadbc279 100644 --- a/databases/db4/hacks.mk +++ b/databases/db4/hacks.mk @@ -1,16 +1,16 @@ -# $NetBSD: hacks.mk,v 1.2 2004/12/27 04:27:49 jlam Exp $ +# $NetBSD: hacks.mk,v 1.3 2005/07/01 15:32:51 tron Exp $ ### [Sun Mar 14 19:32:40 UTC 2004 : jlam] -### Pre-3.3 GCC has an optimization bug on powerpc that's tickled by -### the db4 source code, so remove optimization flags in that case. -### This fixes PR 23737 by John Klos. +### GCC 3.3.x and older versions have an optimization bug on powerpc that's +### tickled by the db4 source code, so remove optimization flags in that +### case. This fixes PR pkg/30647 by Ian Spray. ### .if ${MACHINE_ARCH} == "powerpc" . include "../../mk/compiler.mk" . if !empty(CC_VERSION:Mgcc*) . if !defined(_GCC_IS_TOO_OLD) _GCC_IS_TOO_OLD!= \ - if ${PKG_ADMIN} pmatch 'gcc<3.3' ${CC_VERSION}; then \ + if ${PKG_ADMIN} pmatch 'gcc<3.4' ${CC_VERSION}; then \ ${ECHO} "yes"; \ else \ ${ECHO} "no"; \ |