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 | ec8dc5a2f36cf21dfe45be1867b6869ee45456f3 (patch) | |
tree | 7f4120170de647ecaafe7767e169155e55463a2f /databases/db4 | |
parent | d2340bebb892a8ef1a597512cea187b815dd3a9e (diff) | |
download | pkgsrc-ec8dc5a2f36cf21dfe45be1867b6869ee45456f3.tar.gz |
Disable optimizations for GCC <3.4. This fixes PR pkg/30647 by Ian Spray.
Diffstat (limited to 'databases/db4')
-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"; \ |