pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/xemacs Re-add editors/xemacs/hacks.mk --
details: https://anonhg.NetBSD.org/pkgsrc/rev/65d7ef1a5c51
branches: trunk
changeset: 354475:65d7ef1a5c51
user: hauke <hauke%pkgsrc.org@localhost>
date: Mon Oct 31 13:30:07 2016 +0000
description:
Re-add editors/xemacs/hacks.mk --
gcc 5 builtins collide with src/gmalloc.c's calloc(), which
results in 'xemacs -vanilla' busy-looping during the build.
Joerg suggested building with -fno-builtin, see
<http://mail-index.netbsd.org/tech-toolchain/2016/10/28/msg002820.html> ff.
diffstat:
editors/xemacs/hacks.mk | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diffs (21 lines):
diff -r ea13bace4b30 -r 65d7ef1a5c51 editors/xemacs/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xemacs/hacks.mk Mon Oct 31 13:30:07 2016 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: hacks.mk,v 1.5 2016/10/31 13:30:07 hauke Exp $
+
+.if !defined(XEMACS_HACKS_MK)
+XEMACS_HACKS_MK= defined
+
+.include "../../mk/compiler.mk"
+
+### [Fri Oct 28 10:00:00 UTC 2016 : hauke]
+### gcc 5 builtins collide with src/gmalloc.c's calloc(), which
+### results in 'xemacs -vanilla' busy-looping during the build.
+###
+.if !empty(PKGSRC_COMPILER:Mgcc) && !empty(CC_VERSION:Mgcc-5.[0-9]*)
+PKG_HACKS+= gcc5-malloc-builtin-conflict
+CFLAGS+= -fno-builtin
+.endif
+
+.endif # XEMACS_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index