diff options
author | wiz <wiz> | 2016-12-30 23:37:40 +0000 |
---|---|---|
committer | wiz <wiz> | 2016-12-30 23:37:40 +0000 |
commit | c3eccc73675d4669b1cffb5b8857f7e85628161d (patch) | |
tree | 808842ba1d0290da600a1ec432c9e019db1fc240 /editors/xemacs-current-nox11/hacks.mk | |
parent | e11ae15d836aa8698579c2bdee03d493a0ee43ca (diff) | |
download | pkgsrc-c3eccc73675d4669b1cffb5b8857f7e85628161d.tar.gz |
Fix build of xemacs-*nox11 packages.
Using hints by coypu, thanks!
Diffstat (limited to 'editors/xemacs-current-nox11/hacks.mk')
-rw-r--r-- | editors/xemacs-current-nox11/hacks.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/xemacs-current-nox11/hacks.mk b/editors/xemacs-current-nox11/hacks.mk new file mode 100644 index 00000000000..7ff97e072fa --- /dev/null +++ b/editors/xemacs-current-nox11/hacks.mk @@ -0,0 +1,17 @@ +# $NetBSD: hacks.mk,v 1.1 2016/12/30 23:37:40 wiz 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 |