pkgsrc/editors/emacs21/hacks.mk
rillig a20d25368e editors/*: let pkglint fix indentation and variable alignment
pkglint -Wall -F -r editors

Manually fixed the changes in editors/nedit since the "fixed" indentation
was wrong.
2019-06-08 10:40:52 +00:00

18 lines
457 B
Makefile

# $NetBSD: hacks.mk,v 1.2 2019/06/08 10:40:54 rillig Exp $
.if !defined(EMACS_HACKS_MK)
EMACS_HACKS_MK= defined
.include "../../mk/compiler.mk"
### On NetBSD/amd64 7.99.27, gcc optimisation, at least for version 5.3,
### produces, a "temacs" binary which segfaults.
###
.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64)
. if !empty(CC_VERSION:Mgcc-5.3.*)
PKG_HACKS+= optimisation
BUILDLINK_TRANSFORM+= opt:-O2:-O0
. endif
.endif
.endif # EMACS_HACKS_MK