9401a54a5bd4988fd5eafbf6cf0bab32a2c5f92e
[openwrt/openwrt.git] / package / libs / wolfssl / patches / 101-AR-flags-configure-update.patch
1 From 42eacece82b6375a9f4bab3903a1a39f7d1dd579 Mon Sep 17 00:00:00 2001
2 From: John Safranek <john@wolfssl.com>
3 Date: Tue, 5 Mar 2019 09:26:30 -0800
4 Subject: [PATCH] AR flags configure update In at least one environment the
5 check for particular AR options was failing due to a bash script bug. Deleted
6 an extra pair of parenthesis triggering an arithmetic statement when
7 redundant grouping was desired.
8
9 ---
10 configure.ac | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 --- a/configure.ac
14 +++ b/configure.ac
15 @@ -15,7 +15,7 @@ AC_CONFIG_AUX_DIR([build-aux])
16 : ${CFLAGS=""}
17
18 # Test ar for the "U" option. Should be checked before the libtool macros.
19 -xxx_ar_flags=$((ar --help) 2>&1)
20 +xxx_ar_flags=$(ar --help 2>&1)
21 AS_CASE([$xxx_ar_flags],[*'use actual timestamps and uids/gids'*],[: ${AR_FLAGS="Ucru"}])
22
23 AC_PROG_CC