diff options
author | Andrei Gherzan <andrei.gherzan@huawei.com> | 2022-04-20 17:44:52 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-21 20:58:15 +0100 |
commit | 9e113e175b4942cc302f69078915b15862964c46 (patch) | |
tree | 5b48ada30528132ca1be1c7cbf58ed734c095bf0 | |
parent | ab6fce5a33a9790e907272320c7977edd64bb86d (diff) | |
download | poky-9e113e175b4942cc302f69078915b15862964c46.tar.gz |
automake: Drop redundant 'u' flag in ARFLAGS
(From OE-Core rev: f099e0467599b18f162bc101d2de2fcc3a75b2ec)
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch | 35 | ||||
-rw-r--r-- | meta/recipes-devtools/automake/automake_1.16.5.bb | 1 |
2 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch b/meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch new file mode 100644 index 0000000000..f72788c3a6 --- /dev/null +++ b/meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From bed646918bc67e9e2151ccbda03aae34717821fe Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrei Gherzan <andrei.gherzan@huawei.com> | ||
3 | Date: Wed, 20 Apr 2022 14:57:14 +0200 | ||
4 | Subject: [PATCH] Drop ar 'u' argument | ||
5 | |||
6 | binutils/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 | |||
11 | We also add 'D' flag explicitely to not rely in the default configuration | ||
12 | for reproducible archives. | ||
13 | |||
14 | Upstream-Status: Inappropriate [OE specific] | ||
15 | Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> | ||
16 | --- | ||
17 | bin/automake.in | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/bin/automake.in b/bin/automake.in | ||
21 | index 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 | -- | ||
34 | 2.25.1 | ||
35 | |||
diff --git a/meta/recipes-devtools/automake/automake_1.16.5.bb b/meta/recipes-devtools/automake/automake_1.16.5.bb index ba5ce7b9bb..469fcd69f7 100644 --- a/meta/recipes-devtools/automake/automake_1.16.5.bb +++ b/meta/recipes-devtools/automake/automake_1.16.5.bb | |||
@@ -25,6 +25,7 @@ SRC_URI += "\ | |||
25 | file://new_rt_path_for_test-driver.patch \ | 25 | file://new_rt_path_for_test-driver.patch \ |
26 | file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \ | 26 | file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \ |
27 | file://0001-build-fix-race-in-parallel-builds.patch \ | 27 | file://0001-build-fix-race-in-parallel-builds.patch \ |
28 | file://0001-Drop-ar-u-argument.patch \ | ||
28 | " | 29 | " |
29 | 30 | ||
30 | SRC_URI[sha256sum] = "07bd24ad08a64bc17250ce09ec56e921d6343903943e99ccf63bbf0705e34605" | 31 | SRC_URI[sha256sum] = "07bd24ad08a64bc17250ce09ec56e921d6343903943e99ccf63bbf0705e34605" |