blob: f72788c3a6fec0fabb0799b1671541e4d3d58cc4 [file] [log] [blame]
Patrick Williams03907ee2022-05-01 06:28:52 -05001From bed646918bc67e9e2151ccbda03aae34717821fe Mon Sep 17 00:00:00 2001
2From: Andrei Gherzan <andrei.gherzan@huawei.com>
3Date: Wed, 20 Apr 2022 14:57:14 +0200
4Subject: [PATCH] Drop ar 'u' argument
5
6binutils/ar is configured in deterministic mode by default making the
7'u' argument irrelevant while leading to warning massages similar to:
8
9| ar: `u' modifier ignored since `D' is the default (see `U')
10
11We also add 'D' flag explicitely to not rely in the default configuration
12for reproducible archives.
13
14Upstream-Status: Inappropriate [OE specific]
15Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
16---
17 bin/automake.in | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/bin/automake.in b/bin/automake.in
21index 92bcebe..0f2b84b 100644
22--- a/bin/automake.in
23+++ b/bin/automake.in
24@@ -2678,7 +2678,7 @@ sub handle_libraries ()
25 }
26
27 define_variable ('AR', 'ar', INTERNAL);
28- define_variable ('ARFLAGS', 'cru', INTERNAL);
29+ define_variable ('ARFLAGS', 'crD', INTERNAL);
30 define_verbose_tagvar ('AR');
31
32 foreach my $pair (@liblist)
33--
342.25.1
35