diff options
Diffstat (limited to 'recipes-extended/kvmtool/files/0002-kvmtool-add-EXTRA_CFLAGS-variable.patch')
-rw-r--r-- | recipes-extended/kvmtool/files/0002-kvmtool-add-EXTRA_CFLAGS-variable.patch | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/recipes-extended/kvmtool/files/0002-kvmtool-add-EXTRA_CFLAGS-variable.patch b/recipes-extended/kvmtool/files/0002-kvmtool-add-EXTRA_CFLAGS-variable.patch index 262531ca..dbb2bebe 100644 --- a/recipes-extended/kvmtool/files/0002-kvmtool-add-EXTRA_CFLAGS-variable.patch +++ b/recipes-extended/kvmtool/files/0002-kvmtool-add-EXTRA_CFLAGS-variable.patch | |||
@@ -1,18 +1,19 @@ | |||
1 | From 977a4d41012d1814f5a5330cacc2e4944de387cc Mon Sep 17 00:00:00 2001 | 1 | From 80eb205fd165072724a6e6db1dff8ab0bf2aa667 Mon Sep 17 00:00:00 2001 |
2 | From: Dariusz Pelowski <dariusz.pelowski@gmail.com> | 2 | From: Dariusz Pelowski <dariusz.pelowski@gmail.com> |
3 | Date: Sun, 5 Nov 2017 12:39:21 +0100 | 3 | Date: Sun, 5 Nov 2017 12:39:21 +0100 |
4 | Subject: [PATCH 2/2] kvmtool: add EXTRA_CFLAGS variable | 4 | Subject: [PATCH] kvmtool: add EXTRA_CFLAGS variable |
5 | 5 | ||
6 | to avoid CFLAGS overriding introduce new EXTRA_CFLAGS variable | 6 | to avoid CFLAGS overriding introduce new EXTRA_CFLAGS variable |
7 | for setting via command argument | 7 | for setting via command argument |
8 | 8 | ||
9 | Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com> | 9 | Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com> |
10 | |||
10 | --- | 11 | --- |
11 | Makefile | 2 ++ | 12 | Makefile | 2 ++ |
12 | 1 file changed, 2 insertions(+) | 13 | 1 file changed, 2 insertions(+) |
13 | 14 | ||
14 | diff --git a/Makefile b/Makefile | 15 | diff --git a/Makefile b/Makefile |
15 | index 64a0a16..bca1b26 100644 | 16 | index 3787df2..ece3d2a 100644 |
16 | --- a/Makefile | 17 | --- a/Makefile |
17 | +++ b/Makefile | 18 | +++ b/Makefile |
18 | @@ -2,6 +2,8 @@ | 19 | @@ -2,6 +2,8 @@ |
@@ -22,8 +23,5 @@ index 64a0a16..bca1b26 100644 | |||
22 | +CFLAGS += $(EXTRA_CFLAGS) | 23 | +CFLAGS += $(EXTRA_CFLAGS) |
23 | + | 24 | + |
24 | ifeq ($(strip $(V)),) | 25 | ifeq ($(strip $(V)),) |
25 | E = @echo | 26 | ifeq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),) |
26 | Q = @ | 27 | E = @echo |
27 | -- | ||
28 | 2.15.0 | ||
29 | |||