Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Cc: Mike Gilbert <floppym@g.o>
Subject: [gentoo-dev] [PATCH] meson.eclass: add "--no-rebuild" to meson install args
Date: Sat, 09 Jul 2022 16:02:55
Message-Id: 20220709160241.2131931-1-floppym@gentoo.org
1 This avoids rebuilding targets with no dependency information.
2
3 Bug: https://bugs.gentoo.org/857180
4 Signed-off-by: Mike Gilbert <floppym@g.o>
5 ---
6 eclass/meson.eclass | 1 +
7 1 file changed, 1 insertion(+)
8
9 diff --git a/eclass/meson.eclass b/eclass/meson.eclass
10 index 7ba6501688b..8dec315c1ae 100644
11 --- a/eclass/meson.eclass
12 +++ b/eclass/meson.eclass
13 @@ -427,6 +427,7 @@ meson_install() {
14 local mesoninstallargs=(
15 -C "${BUILD_DIR}"
16 --destdir "${D}"
17 + --no-rebuild
18 "$@"
19 )
20
21 --
22 2.37.0