meta-virtualization/recipes-extended/kvmtool/files/0002-kvmtool-add-EXTRA_CFLAGS-variable.patch
Bruce Ashfield 2119189361 treewide: bulk update patches with status field
While the insane.bbclass upstream-status check hasn't been made
default, users of meta-virtualization may have it enabled in their
distros .. so the effect is the same. We must have this tracking
tag in out patches.

This is a bulk update to add the tag and silence the QA message.

As packages get updated, the normal/routine process of checking
the patches will continue, and the status fields may (or may not)
get more useful.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-01-27 10:32:06 -05:00

30 lines
754 B
Diff

From a1c255983169e094c18d82131939b2b66e581000 Mon Sep 17 00:00:00 2001
From: Dariusz Pelowski <dariusz.pelowski@gmail.com>
Date: Sun, 5 Nov 2017 12:39:21 +0100
Subject: [PATCH] kvmtool: add EXTRA_CFLAGS variable
to avoid CFLAGS overriding introduce new EXTRA_CFLAGS variable
for setting via command argument
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com>
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile b/Makefile
index c05b2c0..2ce753f 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,8 @@
# Define WERROR=0 to disable -Werror.
#
+CFLAGS += $(EXTRA_CFLAGS)
+
ifeq ($(strip $(V)),)
ifeq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
E = @echo