summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch
diff options
context:
space:
mode:
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.patch11
1 files changed, 4 insertions, 7 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 6556d4af85..5f65ceaa29 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,4 +1,4 @@
1From dd4f005ab3b38cee2776dcb0a0661c5a01befd00 Mon Sep 17 00:00:00 2001 1From c34eca043178e60ff04dc88953a71b36ce9dc1b0 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 26 Nov 2018 09:19:17 +0800 3Date: Mon, 26 Nov 2018 09:19:17 +0800
4Subject: [PATCH] RH: use rpm optflags if present 4Subject: [PATCH] RH: use rpm optflags if present
@@ -24,7 +24,7 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
24 1 file changed, 10 insertions(+), 2 deletions(-) 24 1 file changed, 10 insertions(+), 2 deletions(-)
25 25
26diff --git a/Makefile.inc b/Makefile.inc 26diff --git a/Makefile.inc b/Makefile.inc
27index 69521882..2127f208 100644 27index 596e68c0..42766867 100644
28--- a/Makefile.inc 28--- a/Makefile.inc
29+++ b/Makefile.inc 29+++ b/Makefile.inc
30@@ -99,7 +99,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
@@ -48,11 +48,8 @@ index 69521882..2127f208 100644
48 -DRUNTIME_DIR=\"$(runtimedir)\" -DCONFIG_DIR=\"$(TGTDIR)$(configdir)\" \ 48 -DRUNTIME_DIR=\"$(runtimedir)\" -DCONFIG_DIR=\"$(TGTDIR)$(configdir)\" \
49 -DDEFAULT_CONFIGFILE=\"$(TGTDIR)$(configfile)\" -DSTATE_DIR=\"$(TGTDIR)$(statedir)\" \ 49 -DDEFAULT_CONFIGFILE=\"$(TGTDIR)$(configfile)\" -DSTATE_DIR=\"$(TGTDIR)$(statedir)\" \
50 -DEXTRAVERSION=\"$(EXTRAVERSION)\" -MMD -MP 50 -DEXTRAVERSION=\"$(EXTRAVERSION)\" -MMD -MP
51-CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe \ 51-CFLAGS := -std=$(C_STD) $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe \
52+CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) -pipe \ 52+CFLAGS := -std=$(C_STD) $(CFLAGS) $(OPTFLAGS) -pipe \
53 -fexceptions 53 -fexceptions
54 BIN_CFLAGS := -fPIE -DPIE 54 BIN_CFLAGS := -fPIE -DPIE
55 LIB_CFLAGS := -fPIC 55 LIB_CFLAGS := -fPIC
56--
572.25.1
58