From 63cf58044f4ab3297c5a2d0e132e87ebfa80c753 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 488d93fc..005d44e2 100755
--- a/configure
+++ b/configure
@@ -5129,7 +5129,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
