pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/m4 m4: remove hack that disabled optimizations f...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d003365fe496
branches: trunk
changeset: 318276:d003365fe496
user: tnn <tnn%pkgsrc.org@localhost>
date: Tue Jan 22 14:59:03 2019 +0000
description:
m4: remove hack that disabled optimizations for all SunOS platforms
This hack was added 10 years ago; in the unlikely event it is still needed
it should be qualified with a specific compiler version, not platform.
diffstat:
devel/m4/Makefile | 4 ++--
devel/m4/hacks.mk | 26 --------------------------
2 files changed, 2 insertions(+), 28 deletions(-)
diffs (43 lines):
diff -r c29f2e94f6eb -r d003365fe496 devel/m4/Makefile
--- a/devel/m4/Makefile Tue Jan 22 14:55:46 2019 +0000
+++ b/devel/m4/Makefile Tue Jan 22 14:59:03 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.76 2018/09/25 20:21:51 joerg Exp $
+# $NetBSD: Makefile,v 1.77 2019/01/22 14:59:03 tnn Exp $
DISTNAME= m4-1.4.18
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=m4/}
diff -r c29f2e94f6eb -r d003365fe496 devel/m4/hacks.mk
--- a/devel/m4/hacks.mk Tue Jan 22 14:55:46 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-# $NetBSD: hacks.mk,v 1.3 2014/09/10 10:47:13 richard Exp $
-
-.if !defined(M4_HACKS_MK)
-M4_HACKS_MK= defined
-
-.include "../../mk/bsd.prefs.mk"
-.include "../../mk/compiler.mk"
-
-### [Mon Sep 24 09:00:13 EDT 2007 : dmcmahill]
-###
-### With gcc-3.3.5 on SunOS-5.9/sparc
-### In file included from frexpl.c:19:
-### frexp.c: In function `rpl_frexpl':
-### frexp.c:167: error: insn does not satisfy its constraints:
-### (insn 600 125 127 6 0 (set (reg:TF 10 %o2)
-### (mem/u/f:TF (lo_sum:SI (reg/f:SI 1 %g1 [138])
-### (symbol_ref/u:SI ("*.LLC2"))) [0 S16 A64])) 74 {*movtf_insn_sp32} (nil)
-### (nil))
-### frexp.c:167: internal compiler error: in reload_cse_simplify_operands, at reload1.c:8378
-###
-.if !empty(PKGSRC_COMPILER:Mgcc) && ${OPSYS} == "SunOS"
-PKG_HACKS+= optimisation
-BUILDLINK_TRANSFORM+= rm:-O[0-9]*
-.endif
-
-.endif # M4_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index