blob: 66f26c06ab555de29b293b8219bc877ce9c67d22 [file] [log] [blame]
Andrew Geisslereff27472021-10-29 15:35:00 -05001From ec87e53066a9942e9aaba817d71268342f5e83b9 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Wed, 16 Aug 2017 14:45:27 +0800
Andrew Geisslereff27472021-10-29 15:35:00 -05004Subject: [PATCH] configure: reproducible
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005
6"configure" enforces -U for ar flags, breaking deterministic builds.
7The flag was added to fix some vaguely specified "recent POSIX binutil
8build problems" in 2015.
9
10Upstream-Status: Pending
11Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
12
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080013Rebase to 6.1
Brad Bishopd7bf8c12018-02-25 22:55:05 -050014
15Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Andrew Geisslereff27472021-10-29 15:35:00 -050016
Brad Bishopd7bf8c12018-02-25 22:55:05 -050017---
18 configure | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/configure b/configure
Andrew Geisslereff27472021-10-29 15:35:00 -050022index 421cf859..a1b7840d 100755
Brad Bishopd7bf8c12018-02-25 22:55:05 -050023--- a/configure
24+++ b/configure
Andrew Geisslereff27472021-10-29 15:35:00 -050025@@ -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 Bishopd7bf8c12018-02-25 22:55:05 -050032
Andrew Geisslereff27472021-10-29 15:35:00 -050033 # check if $ARFLAGS already contains this choice