From 49da41592baf80565aab74086ca74a32edf2f12c Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 26 Mar 2010 18:48:11 +0300 Subject: [PATCH] Makefile: Add CPPFLAGS handling Some developers may need to pass specific flags to compiler, usually due to different include/ directory and etc. So add well known CPPFLAGS here. Example: $ CPPFLAGS="-I/home/include" make Signed-off-by: Cyrill Gorcunov Signed-off-by: Pekka Enberg --- tools/kvm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile index 0bc48915fa56..bd1488a4375f 100644 --- a/tools/kvm/Makefile +++ b/tools/kvm/Makefile @@ -5,7 +5,7 @@ OBJS += kvm.o OBJS += main.o OBJS += util.o -CFLAGS += -Iinclude +CFLAGS += $(CPPFLAGS) -Iinclude WARNINGS += -Wall WARNINGS += -Wcast-align -- 2.39.5