diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2024-10-06 18:43:39 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-10-06 07:52:42 -0700 |
commit | a8bb333e656ba8c4e7d3dda37e7adbec5de55a9e (patch) | |
tree | c7fb66f4509c4e5eb6a017172071356ed28d2b5e /meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch | |
parent | 276ac2c78e37753db2fef34a471f691a28cd5f7a (diff) | |
download | meta-openembedded-a8bb333e656ba8c4e7d3dda37e7adbec5de55a9e.tar.gz |
multipath-tools: upgrade 0.9.8 -> 0.10.0
ChangeLog:
https://github.com/opensvc/multipath-tools/blob/0.10.0/NEWS.md
* Refresh patches.
* Drop 0001-libmultipath-always-use-glibc-basename.patch as the issue
has been fixed upstream.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch')
-rw-r--r-- | meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch b/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch index 91477a44c..6556d4af8 100644 --- a/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch +++ b/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From f1b74f21875d6d9f0a5ac3d67df40a28b167052a Mon Sep 17 00:00:00 2001 | 1 | From dd4f005ab3b38cee2776dcb0a0661c5a01befd00 Mon Sep 17 00:00:00 2001 |
2 | From: Changqing Li <changqing.li@windriver.com> | 2 | From: Changqing Li <changqing.li@windriver.com> |
3 | Date: Mon, 26 Nov 2018 09:19:17 +0800 | 3 | Date: Mon, 26 Nov 2018 09:19:17 +0800 |
4 | Subject: [PATCH 04/12] RH: use rpm optflags if present | 4 | Subject: [PATCH] RH: use rpm optflags if present |
5 | 5 | ||
6 | Use the passed in optflags when compiling as an RPM, and keep the | 6 | Use the passed in optflags when compiling as an RPM, and keep the |
7 | default flags as close as possible to the current fedora flags, while | 7 | default flags as close as possible to the current fedora flags, while |
@@ -16,15 +16,18 @@ Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> | |||
16 | 16 | ||
17 | Rebase to 0.9.8 | 17 | Rebase to 0.9.8 |
18 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | 18 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
19 | |||
20 | Rebase to 0.10.0 | ||
21 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
19 | --- | 22 | --- |
20 | Makefile.inc | 12 ++++++++++-- | 23 | Makefile.inc | 12 ++++++++++-- |
21 | 1 file changed, 10 insertions(+), 2 deletions(-) | 24 | 1 file changed, 10 insertions(+), 2 deletions(-) |
22 | 25 | ||
23 | diff --git a/Makefile.inc b/Makefile.inc | 26 | diff --git a/Makefile.inc b/Makefile.inc |
24 | index de89b21f..6ac632ff 100644 | 27 | index 69521882..2127f208 100644 |
25 | --- a/Makefile.inc | 28 | --- a/Makefile.inc |
26 | +++ b/Makefile.inc | 29 | +++ b/Makefile.inc |
27 | @@ -95,7 +95,15 @@ SYSTEMD_LIBDEPS := $(if $(SYSTEMD),$(if $(shell test $(SYSTEMD) -gt 209 && echo | 30 | @@ -99,7 +99,15 @@ SYSTEMD_LIBDEPS := $(if $(SYSTEMD),$(if $(shell test $(SYSTEMD) -gt 209 && echo |
28 | MODPROBE_UNIT := $(shell test "0$(SYSTEMD)" -lt 245 2>/dev/null || \ | 31 | MODPROBE_UNIT := $(shell test "0$(SYSTEMD)" -lt 245 2>/dev/null || \ |
29 | echo "modprobe@dm_multipath.service") | 32 | echo "modprobe@dm_multipath.service") |
30 | 33 | ||
@@ -38,18 +41,18 @@ index de89b21f..6ac632ff 100644 | |||
38 | + -Werror=implicit-function-declaration -Wno-sign-compare \ | 41 | + -Werror=implicit-function-declaration -Wno-sign-compare \ |
39 | + -Wno-unused-parameter -Werror=cast-qual \ | 42 | + -Wno-unused-parameter -Werror=cast-qual \ |
40 | + -Werror=discarded-qualifiers | 43 | + -Werror=discarded-qualifiers |
41 | WARNFLAGS := -Werror -Wall -Wextra -Wformat=2 $(WFORMATOVERFLOW) -Werror=implicit-int \ | 44 | |
42 | -Werror=implicit-function-declaration -Werror=format-security \ | 45 | # Set WARN_ONLY=1 to avoid compilation erroring out due to warnings. Useful during development. |
43 | $(WNOCLOBBERED) -Werror=cast-qual $(ERROR_DISCARDED_QUALIFIERS) $(W_URCU_TYPE_LIMITS) | 46 | WARN_ONLY := |
44 | @@ -105,7 +113,7 @@ CPPFLAGS := $(FORTIFY_OPT) $(CPPFLAGS) $(D_URCU_VERSION) \ | 47 | @@ -115,7 +123,7 @@ CPPFLAGS := $(FORTIFY_OPT) $(CPPFLAGS) $(D_URCU_VERSION) \ |
45 | -DRUNTIME_DIR=\"$(runtimedir)\" -DCONFIG_DIR=\"$(configdir)\" \ | 48 | -DRUNTIME_DIR=\"$(runtimedir)\" -DCONFIG_DIR=\"$(TGTDIR)$(configdir)\" \ |
46 | -DDEFAULT_CONFIGFILE=\"$(configfile)\" -DSTATE_DIR=\"$(statedir)\" \ | 49 | -DDEFAULT_CONFIGFILE=\"$(TGTDIR)$(configfile)\" -DSTATE_DIR=\"$(TGTDIR)$(statedir)\" \ |
47 | -DEXTRAVERSION=\"$(EXTRAVERSION)\" -MMD -MP | 50 | -DEXTRAVERSION=\"$(EXTRAVERSION)\" -MMD -MP |
48 | -CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe | 51 | -CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe \ |
49 | +CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) -pipe | 52 | +CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) -pipe \ |
53 | -fexceptions | ||
50 | BIN_CFLAGS := -fPIE -DPIE | 54 | BIN_CFLAGS := -fPIE -DPIE |
51 | LIB_CFLAGS := -fPIC | 55 | LIB_CFLAGS := -fPIC |
52 | SHARED_FLAGS := -shared | ||
53 | -- | 56 | -- |
54 | 2.25.1 | 57 | 2.25.1 |
55 | 58 | ||