pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/mlterm mlterm: -fno-dce hack is also required for ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a2abfc02e13e
branches:  trunk
changeset: 442380:a2abfc02e13e
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Tue Nov 24 09:29:45 2020 +0000

description:
mlterm: -fno-dce hack is also required for NetBSD/sh3el 9.1 (gcc 7.5.0).

diffstat:

 x11/mlterm/hacks.mk |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 6a51cd14da8a -r a2abfc02e13e x11/mlterm/hacks.mk
--- a/x11/mlterm/hacks.mk       Tue Nov 24 09:24:47 2020 +0000
+++ b/x11/mlterm/hacks.mk       Tue Nov 24 09:29:45 2020 +0000
@@ -1,13 +1,14 @@
-# $NetBSD: hacks.mk,v 1.1 2020/06/21 17:53:01 tsutsui Exp $
+# $NetBSD: hacks.mk,v 1.2 2020/11/24 09:29:45 tsutsui Exp $
 
 .if !defined(MLTERM_HACKS_MK)
 MLTERM_HACKS_MK=       defined
 
 .include "../../mk/compiler.mk"
 
-# On NetBSD/sh3el 9.0, the default -Os causes an error on compiling
-# vt_line_bidi.c and -fno-dce works around. (PR/55265)
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-sh3*) && !empty(CC_VERSION:Mgcc-7.4.*)
+# On NetBSD/sh3el 9.0 (gcc 7.4.0) and 9.1 (gcc 7.5.0), the default -Os
+# causes an error on compiling vt_line_bidi.c and -fno-dce works around.
+# (PR/55265)
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-sh3*) && !empty(CC_VERSION:Mgcc-7.*)
 PKG_HACKS+=            optimisation
 # XXX: is there any good way to replace the default -Os with multiple args?
 #BUILDLINK_TRANSFORM+=



Home | Main Index | Thread Index | Old Index