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