diff options
Diffstat (limited to 'meta-openstack/recipes-connectivity/open-iscsi/files/0001-fix-build-error-of-cross-build.patch')
-rw-r--r-- | meta-openstack/recipes-connectivity/open-iscsi/files/0001-fix-build-error-of-cross-build.patch | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/meta-openstack/recipes-connectivity/open-iscsi/files/0001-fix-build-error-of-cross-build.patch b/meta-openstack/recipes-connectivity/open-iscsi/files/0001-fix-build-error-of-cross-build.patch index 206da48..8eec2dc 100644 --- a/meta-openstack/recipes-connectivity/open-iscsi/files/0001-fix-build-error-of-cross-build.patch +++ b/meta-openstack/recipes-connectivity/open-iscsi/files/0001-fix-build-error-of-cross-build.patch | |||
@@ -1,30 +1,30 @@ | |||
1 | From 943a321104a5b2c4ac25bdb2ae81b5b208e3973c Mon Sep 17 00:00:00 2001 | 1 | From 2ba83ff539c18d02f8e4b4ce7903a5b46f364609 Mon Sep 17 00:00:00 2001 |
2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> | 2 | From: Lei Maohui <leimaohui@fujitsu.com> |
3 | Date: Tue, 18 Aug 2015 10:29:35 +0900 | 3 | Date: Thu, 8 Jul 2021 15:06:27 +0900 |
4 | Subject: [PATCH] fix build error of cross build | 4 | Subject: [PATCH] fix build error of cross build |
5 | 5 | ||
6 | The error likes as following | 6 | The error likes as following |
7 | | configure: error: cannot run C compiled programs. | 7 | | configure: error: cannot run C compiled programs. |
8 | | If you meant to cross compile, use `--host'. | 8 | | If you meant to cross compile, use `--host'. |
9 | 9 | ||
10 | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> | 10 | Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> |
11 | --- | 11 | --- |
12 | Makefile | 2 +- | 12 | Makefile | 2 +- |
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
14 | 14 | ||
15 | diff --git a/Makefile b/Makefile | 15 | diff --git a/Makefile b/Makefile |
16 | index c5d9700..1f31e43 100644 | 16 | index 7f52cc8..cadbc47 100644 |
17 | --- a/Makefile | 17 | --- a/Makefile |
18 | +++ b/Makefile | 18 | +++ b/Makefile |
19 | @@ -42,7 +42,7 @@ user: utils/open-isns/Makefile | 19 | @@ -78,7 +78,7 @@ user: iscsiuio/Makefile |
20 | @echo "Read README file for detailed information." | 20 | @echo "Read README file for detailed information." |
21 | 21 | ||
22 | utils/open-isns/Makefile: utils/open-isns/configure utils/open-isns/Makefile.in | 22 | iscsiuio/Makefile: iscsiuio/configure iscsiuio/Makefile.in |
23 | - cd utils/open-isns; ./configure CFLAGS="$(OPTFLAGS)" --with-security=no | 23 | - cd iscsiuio; ./configure $(WITHOUT_ARG) |
24 | + cd utils/open-isns; ./configure CFLAGS="$(OPTFLAGS)" --with-security=no ${CONFIGURE_ARGS} | 24 | + cd iscsiuio; ./configure $(WITHOUT_ARG) $(CONFIGURE_ARGS) |
25 | 25 | ||
26 | kernel: force | 26 | iscsiuio/configure iscsiuio/Makefile.in: iscsiuio/configure.ac iscsiuio/Makefile.am |
27 | $(MAKE) -C kernel | 27 | cd iscsiuio; autoreconf --install |
28 | -- | 28 | -- |
29 | 1.8.4.2 | 29 | 2.25.1 |
30 | 30 | ||