diff options
| author | Khem Raj <raj.khem@gmail.com> | 2018-02-05 23:46:17 -0800 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2018-04-04 13:32:28 -0400 |
| commit | e38db24115409974a539a7b4aca3318ebdce3de3 (patch) | |
| tree | 489589c62d5184a6aa9043bf73228bf5e934ceaa /meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-libopeniscsiusr-Add-CFLAGS-to-linker-cmdline.patch | |
| parent | f6225a9f7ecfd835390d1dac19c26a03b48f5de0 (diff) | |
| download | meta-openembedded-e38db24115409974a539a7b4aca3318ebdce3de3.tar.gz | |
iscsi-initiator-utils: Upgrade to 2.0.876
Fix build with musl along the way
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-libopeniscsiusr-Add-CFLAGS-to-linker-cmdline.patch')
| -rw-r--r-- | meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-libopeniscsiusr-Add-CFLAGS-to-linker-cmdline.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-libopeniscsiusr-Add-CFLAGS-to-linker-cmdline.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-libopeniscsiusr-Add-CFLAGS-to-linker-cmdline.patch new file mode 100644 index 0000000000..836ed60487 --- /dev/null +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-libopeniscsiusr-Add-CFLAGS-to-linker-cmdline.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 29571f71692e28ce9a17d1450097a98492f3b465 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Fri, 2 Feb 2018 22:54:04 -0800 | ||
| 4 | Subject: [PATCH 2/2] libopeniscsiusr: Add CFLAGS to linker cmdline | ||
| 5 | |||
| 6 | This will ensure that -fPIC is passed to linker as | ||
| 7 | well | ||
| 8 | |||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | libopeniscsiusr/Makefile | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/libopeniscsiusr/Makefile b/libopeniscsiusr/Makefile | ||
| 15 | index 8b9b523..4f1d0d6 100644 | ||
| 16 | --- a/libopeniscsiusr/Makefile | ||
| 17 | +++ b/libopeniscsiusr/Makefile | ||
| 18 | @@ -49,7 +49,7 @@ LIBADD = | ||
| 19 | all: $(LIBS) $(LIBS_MAJOR) $(TESTS) doc | ||
| 20 | |||
| 21 | $(LIBS): $(OBJS) | ||
| 22 | - $(CC) $(LDFLAGS) -shared -Wl,-soname=$@ -o $@ $(OBJS) $(LIBADD) | ||
| 23 | + $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname=$@ -o $@ $(OBJS) $(LIBADD) | ||
| 24 | ln -sf $@ $(DEVLIB) | ||
| 25 | |||
| 26 | $(LIBS_MAJOR): $(LIBS) | ||
| 27 | -- | ||
| 28 | 2.16.1 | ||
| 29 | |||
