From ec87e53066a9942e9aaba817d71268342f5e83b9 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Wed, 16 Aug 2017 14:45:27 +0800
Subject: [PATCH] configure: reproducible

"configure" enforces -U for ar flags, breaking deterministic builds.
The flag was added to fix some vaguely specified "recent POSIX binutil
build problems" in 2015.

Upstream-Status: Pending
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>

Rebase to 6.1

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 421cf859..a1b7840d 100755
--- a/configure
+++ b/configure
@@ -5072,7 +5072,7 @@ else
 		;;
 	(*)
 		cf_cv_ar_flags=unknown
-		for cf_ar_flags in -curvU -curv curv -crv crv -cqv cqv -rv rv
+		for cf_ar_flags in -curv curv -crv crv -cqv cqv -rv rv
 		do
 
 			# check if $ARFLAGS already contains this choice
