1From db9e6a4b7a48dee62fccb662347dd638a2d286d5 Mon Sep 17 00:00:00 2001
2From: Lei Maohui <leimaohui@fujitsu.com>
3Date: Thu, 2 Dec 2021 14:29:06 +0900
4Subject: [PATCH] Remove unsuitble part for cross-compile.
5
6Upstream-Status: Inappropriate [OE specific]
7
8Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
9---
10 configure.ac               | 6 ------
11 src/libpcp/src/GNUmakefile | 1 -
12 2 files changed, 7 deletions(-)
13
14diff --git a/configure.ac b/configure.ac
15index 5b25382..5d24714 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -623,12 +623,6 @@ fi
19 which=$WHICH
20 AC_SUBST(which)
21
22-if test -z "$AR"; then
23-    AC_PATH_PROGS(AR, [gcc-ar ar], /usr/bin/ar)
24-fi
25-if test ! -x "$AR"; then
26-    AC_MSG_ERROR([cannot find a valid 'ar' command.])
27-fi
28 ar=$AR
29 AC_SUBST(ar)
30
31diff --git a/src/libpcp/src/GNUmakefile b/src/libpcp/src/GNUmakefile
32index 3c4ccd6..d1eba19 100644
33--- a/src/libpcp/src/GNUmakefile
34+++ b/src/libpcp/src/GNUmakefile
35@@ -176,7 +176,6 @@ exports:	exports.in mk.exports
36 # cases
37 #
38 check.done:	$(OBJECTS)
39-	./check-statics
40 	touch check.done
41
42 ifneq ($(LIBTARGET),)
43--
442.25.1
45
46