From 70f537f0e0705db41f10749734655e369a308b64 Mon Sep 17 00:00:00 2001 From: Paul Healy Date: Sat, 19 Feb 2022 13:39:08 +0000 Subject: respect LDFLAGS Signed-off-by: Paul Healy --- dev-util/pstack/Manifest | 2 +- dev-util/pstack/pstack-9999.ebuild | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'dev-util') diff --git a/dev-util/pstack/Manifest b/dev-util/pstack/Manifest index c1dabbc..8043e7c 100644 --- a/dev-util/pstack/Manifest +++ b/dev-util/pstack/Manifest @@ -1,2 +1,2 @@ AUX pstack.ignore-linux-vdso.patch 363 BLAKE2B 4663a2ca5c863d8d707933c4345d3ed89da0f0e45ec64f18d1a090fd30bc86e50254614e55536f7563eb7dd660879a7ad547468fa4644c57679c5f9b35180f2d SHA512 58500d80f01ce7857fd465224003aae03ebed27adb04d25cbf7371a057ae6e14c9483f5548833822f7d3aef5f970093ec8f2ea2c1ea5db4f7c1280bda31f56a9 -EBUILD pstack-9999.ebuild 421 BLAKE2B 9801be4b210aa5a1aca34e62e4c0640b940dd109936c5965e3d542f0679000d74d1019192fae746abc859d3bcc1727d044790cc0d2c07a2520bf657d636162af SHA512 b9d850392168d77f92603ba26533634fd0e451e282e104a08e024e27d4bd22b97c15e329efa227f468b83a0f78c161010debc7630af804a363679b4d78314b35 +EBUILD pstack-9999.ebuild 550 BLAKE2B f8e4d427ebfdf7b14d4df7a6c4b4f01137e9870387019625aa87877f4015b0176962f8cdf0c36727e5cd6667bd6911d765eb4ff12703f64c101d14ee80369e9a SHA512 18563e100482489095095f49b32d21890b8da27556656154ab369ec0b6c5e1ec614508ea9ce7640cb3fe1548dd68bacd2c80ae5e76bf8cfb1d3531ade389c988 diff --git a/dev-util/pstack/pstack-9999.ebuild b/dev-util/pstack/pstack-9999.ebuild index 6da34e9..86f117a 100644 --- a/dev-util/pstack/pstack-9999.ebuild +++ b/dev-util/pstack/pstack-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,3 +15,7 @@ KEYWORDS="~amd64 ~x86" IUSE="" PATCHES=( "${FILESDIR}/${PN}.ignore-linux-vdso.patch" ) + +src_configure() { + sed -i -e 's:$(CC) $(CFLAGS) -o pstack pstack.c:$(CC) $(CFLAGS) -o pstack pstack.c $(LDFLAGS):' "Makefile" +} -- cgit v1.2.3-65-gdbad