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
14--- a/configure.ac
15+++ b/configure.ac
16@@ -607,12 +607,6 @@ fi
17 which=$WHICH
18 AC_SUBST(which)
19
20-if test -z "$AR"; then
21-    AC_PATH_PROGS(AR, [gcc-ar ar], /usr/bin/ar)
22-fi
23-if test ! -x "$AR"; then
24-    AC_MSG_ERROR([cannot find a valid 'ar' command.])
25-fi
26 ar=$AR
27 AC_SUBST(ar)
28
29--- a/src/libpcp/src/GNUmakefile
30+++ b/src/libpcp/src/GNUmakefile
31@@ -179,8 +179,6 @@ exports:	exports.in mk.exports
32 # consistent in all placess.
33 #
34 check.done:	$(OBJECTS)
35-	./check-statics
36-	./check-errorcodes
37 	touch check.done
38
39 ifneq ($(LIBTARGET),)
40