summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorryoon <ryoon>2016-06-09 12:28:54 +0000
committerryoon <ryoon>2016-06-09 12:28:54 +0000
commitfcb58b81c18e62063a3b1d6f8d4187d67e8fd143 (patch)
treec8b8b92e118ba7399e10f1bc583acd567edd40b7 /editors
parentbcb433f82cbb1532cf740d894adb05cebf22e29d (diff)
downloadpkgsrc-fcb58b81c18e62063a3b1d6f8d4187d67e8fd143.tar.gz
Apply optimization hack for GCC 5.4 too
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs24/hacks.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/emacs24/hacks.mk b/editors/emacs24/hacks.mk
index 7807065c8bd..e53678fde4b 100644
--- a/editors/emacs24/hacks.mk
+++ b/editors/emacs24/hacks.mk
@@ -1,15 +1,15 @@
-# $NetBSD: hacks.mk,v 1.3 2016/04/25 12:12:40 wiz Exp $
+# $NetBSD: hacks.mk,v 1.4 2016/06/09 12:28:54 ryoon Exp $
.if !defined(EMACS_HACKS_MK)
EMACS_HACKS_MK= defined
.include "../../mk/compiler.mk"
-### On NetBSD/amd64 7.99.26, gcc optimisation, at least for version 5.3,
+### On NetBSD/amd64 7.99.26, gcc optimisation, at least for version 5.x,
### produces, a "temacs" binary which segfaults.
###
. if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64)
-. if !empty(CC_VERSION:Mgcc-5.3.*)
+. if !empty(CC_VERSION:Mgcc-5.*)
PKG_HACKS+= optimisation
BUILDLINK_TRANSFORM+= opt:-O2:-O0
. endif