linux-hyperv.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Do not overwrite CFLAG passed into makefile
@ 2019-04-02 14:11 Zhongcheng Lao
  0 siblings, 0 replies; only message in thread
From: Zhongcheng Lao @ 2019-04-02 14:11 UTC (permalink / raw)
  To: haiyangz
  Cc: Zhongcheng Lao, K. Y. Srinivasan, Stephen Hemminger, Sasha Levin,
	linux-hyperv, linux-kernel

It is necessary to pass a custom value for KVP_SCRIPTS_PATH
because of the directory structure differences in Linux distros.
Current makefile does not allow this.

The patch fixes the issue.

Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
---
 tools/hv/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/hv/Makefile b/tools/hv/Makefile
index 5db5e62cebda..058c3dbb7824 100644
--- a/tools/hv/Makefile
+++ b/tools/hv/Makefile
@@ -2,7 +2,7 @@
 # Makefile for Hyper-V tools
 
 WARNINGS = -Wall -Wextra
-CFLAGS = $(WARNINGS) -g $(shell getconf LFS_CFLAGS)
+CFLAGS += $(WARNINGS) -g $(shell getconf LFS_CFLAGS)
 
 CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
 
-- 
2.21.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-02 14:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-02 14:11 [PATCH] Do not overwrite CFLAG passed into makefile Zhongcheng Lao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).