summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ncurses/files/0002-configure-reproducible.patch
blob: 66f26c06ab555de29b293b8219bc877ce9c67d22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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