pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib MesaLib: build-id is a linker arg so ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4864fc9bff7
branches:  trunk
changeset: 338989:b4864fc9bff7
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Sep 02 20:28:34 2019 +0000

description:
MesaLib: build-id is a linker arg so needs -Wl, oops

diffstat:

 graphics/MesaLib/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e4cb5590da4a -r b4864fc9bff7 graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Mon Sep 02 19:43:06 2019 +0000
+++ b/graphics/MesaLib/Makefile Mon Sep 02 20:28:34 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.161 2019/09/02 19:43:06 nia Exp $
+# $NetBSD: Makefile,v 1.162 2019/09/02 20:28:34 nia Exp $
 
 DISTNAME=      mesa-19.1.5
 PKGNAME=       ${DISTNAME:S/mesa/MesaLib/}
@@ -152,7 +152,7 @@
 CPPFLAGS+=     -DSYSCONFDIR=${PKG_SYSCONFDIR}
 
 BUILDLINK_TRANSFORM+=          rm:-Werror=return-type
-BUILDLINK_TRANSFORM.SunOS+=    rm:--build-id=sha1
+BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--build-id=sha1
 
 # Work around Xorg segfaulting in radeon driver due to wrong alloca being used
 CFLAGS.NetBSD+=                -Dalloca=__builtin_alloca



Home | Main Index | Thread Index | Old Index