summaryrefslogtreecommitdiffstats
path: root/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-configure-avoid-run-test-on-cross-platform.patch
blob: b0afccce67f68b27404d22b8d5057fbe847b54b9 (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
From 88d73d77794cde03f93ed53f21a163f5980696be Mon Sep 17 00:00:00 2023
From: Yan <yanxk.fnst@fujitsu.com>
Date: Fri, 25 Aug 2023 09:53:43 +0800
Subject: [PATCH] boa: fix configure avoid run test on cross platform

during configuration, boa configure would run already
cross compiled test files on host machine, remove exit
is to ignore this run test failure.

Upstream-Status: Pending
Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
---
 src/configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/configure b/src/configure
index bda829f..7a6a624 100755
--- a/src/configure
+++ b/src/configure
@@ -1552,7 +1552,7 @@ if eval "test \"`echo '$''{'ac_cv_func_setvbuf_reversed'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   if test "$cross_compiling" = yes; then
-    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
+    { echo "configure: error: can not run test program while cross compiling" 1>&2; }
 else
   cat > conftest.$ac_ext <<EOF
 #line 1559 "configure"
--
2.25.1