pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/db5 db5: remove workaround for very old GCC
details: https://anonhg.NetBSD.org/pkgsrc/rev/da35aa7671d3
branches: trunk
changeset: 443748:da35aa7671d3
user: maya <maya%pkgsrc.org@localhost>
date: Sun Dec 20 16:42:45 2020 +0000
description:
db5: remove workaround for very old GCC
diffstat:
databases/db5/hacks.mk | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
diffs (29 lines):
diff -r be31c2a14fcd -r da35aa7671d3 databases/db5/hacks.mk
--- a/databases/db5/hacks.mk Sun Dec 20 15:15:01 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1.1.1 2010/06/02 12:08:53 adam Exp $
-
-### [Sun Mar 14 19:32:40 UTC 2004 : jlam]
-### GCC 3.3.x and older versions have an optimization bug on powerpc that's
-### tickled by the db5 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.4' ${CC_VERSION}; then \
- ${ECHO} "yes"; \
- else \
- ${ECHO} "no"; \
- fi
-MAKEFLAGS+= _GCC_IS_TOO_OLD=${_GCC_IS_TOO_OLD:Q}
-. endif
-. if !empty(_GCC_IS_TOO_OLD:M[yY][eE][sS])
-PKG_HACKS+= powerpc-codegen
-BUILDLINK_TRANSFORM+= rm:-O[0-9]*
-. endif
-. endif
-.endif
Home |
Main Index |
Thread Index |
Old Index