pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install-info added hack to work around gc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1a868cae2290
branches: trunk
changeset: 522823:1a868cae2290
user: schwarz <schwarz%pkgsrc.org@localhost>
date: Sun Dec 24 14:07:55 2006 +0000
description:
added hack to work around gcc issue with -O3 optimization
diffstat:
pkgtools/pkg_install-info/hacks.mk | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r 761489e5949a -r 1a868cae2290 pkgtools/pkg_install-info/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_install-info/hacks.mk Sun Dec 24 14:07:55 2006 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.1 2006/12/24 14:07:55 schwarz Exp $
+
+.if !defined(PKG_INSTALL-INFO_HACKS_MK)
+PKG_INSTALL-INFO_HACKS_MK= #defined
+
+### [Sat Dec 23 16:09:15 CET 2006: schwarz]
+### work around gcc optimization issue (gcc bug report c/14675)
+### see http://gcc.gnu.org/ml/gcc-bugs/2004-03/msg02604.html
+###
+. if !empty(PKGSRC_COMPILER:Mgcc*) && !empty(CFLAGS:M-O3)
+PKG_HACKS+= suppress-Werror
+BUILDLINK_TRANSFORM+= rm:-Werror
+. endif
+
+.endif
Home |
Main Index |
Thread Index |
Old Index