pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/erlang erlang: disable PGO on netbsd. gcov doesn'...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b21f1634c41
branches:  trunk
changeset: 384829:8b21f1634c41
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Sep 03 17:40:32 2018 +0000

description:
erlang: disable PGO on netbsd. gcov doesn't work on netbsd-8 at least.

>From Michael Taylor in PR pkg/53567

diffstat:

 lang/erlang/hacks.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 2cc17f572e7d -r 8b21f1634c41 lang/erlang/hacks.mk
--- a/lang/erlang/hacks.mk      Mon Sep 03 17:11:23 2018 +0000
+++ b/lang/erlang/hacks.mk      Mon Sep 03 17:40:32 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.2 2015/04/28 14:34:20 fhajny Exp $
+# $NetBSD: hacks.mk,v 1.3 2018/09/03 17:40:32 maya Exp $
 
 .if !defined(ERLANG_HACKS_MK)
 ERLANG_HACKS_MK=       # empty
@@ -22,4 +22,9 @@
 
 CFLAGS.NetBSD+=        -D_NETBSD_SOURCE
 
+# gcov miscompiled PR 53567
+.if (${OPSYS} == "NetBSD")
+CONFIGURE_ARGS+=       --disable-pgo
 .endif
+
+.endif



Home | Main Index | Thread Index | Old Index