Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame^] | 1 | From ec87e53066a9942e9aaba817d71268342f5e83b9 Mon Sep 17 00:00:00 2001 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
| 3 | Date: Wed, 16 Aug 2017 14:45:27 +0800 |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame^] | 4 | Subject: [PATCH] configure: reproducible |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 5 | |
| 6 | "configure" enforces -U for ar flags, breaking deterministic builds. |
| 7 | The flag was added to fix some vaguely specified "recent POSIX binutil |
| 8 | build problems" in 2015. |
| 9 | |
| 10 | Upstream-Status: Pending |
| 11 | Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> |
| 12 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 13 | Rebase to 6.1 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 14 | |
| 15 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame^] | 16 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 17 | --- |
| 18 | configure | 2 +- |
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 20 | |
| 21 | diff --git a/configure b/configure |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame^] | 22 | index 421cf859..a1b7840d 100755 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 23 | --- a/configure |
| 24 | +++ b/configure |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame^] | 25 | @@ -5072,7 +5072,7 @@ else |
| 26 | ;; |
| 27 | (*) |
| 28 | cf_cv_ar_flags=unknown |
| 29 | - for cf_ar_flags in -curvU -curv curv -crv crv -cqv cqv -rv rv |
| 30 | + for cf_ar_flags in -curv curv -crv crv -cqv cqv -rv rv |
| 31 | do |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 32 | |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame^] | 33 | # check if $ARFLAGS already contains this choice |