pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/emacs24 Apply optimization hack for GCC 5.4 too
details: https://anonhg.NetBSD.org/pkgsrc/rev/0169d73558a6
branches: trunk
changeset: 348218:0169d73558a6
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Thu Jun 09 12:28:54 2016 +0000
description:
Apply optimization hack for GCC 5.4 too
diffstat:
editors/emacs24/hacks.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 226dfb3982a4 -r 0169d73558a6 editors/emacs24/hacks.mk
--- a/editors/emacs24/hacks.mk Thu Jun 09 12:10:07 2016 +0000
+++ b/editors/emacs24/hacks.mk Thu Jun 09 12:28:54 2016 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index