From 76cc3dd808114bfc10d0f27765514673ccb563b7 Mon Sep 17 00:00:00 2001 From: Tonny Tzeng Date: Thu, 17 May 2018 16:39:12 +0800 Subject: [PATCH] tools: invoke compiler with $(CC) instead of gcc for consistency Signed-off-by: Tonny Tzeng tonny.tzeng@intel.com --- tools/acrn-manager/Makefile | 2 +- tools/acrnlog/Makefile | 2 +- tools/acrntrace/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/acrn-manager/Makefile b/tools/acrn-manager/Makefile index c5fe3adb1..43878b554 100644 --- a/tools/acrn-manager/Makefile +++ b/tools/acrn-manager/Makefile @@ -2,7 +2,7 @@ OUT_DIR ?= . all: acrnctl.c - gcc -o $(OUT_DIR)/acrnctl acrnctl.c -I../../devicemodel/include -Wall -g + $(CC) -o $(OUT_DIR)/acrnctl acrnctl.c -I../../devicemodel/include -Wall -g clean: rm -f $(OUT_DIR)/acrnctl diff --git a/tools/acrnlog/Makefile b/tools/acrnlog/Makefile index ef088c76a..59aa083c9 100644 --- a/tools/acrnlog/Makefile +++ b/tools/acrnlog/Makefile @@ -2,7 +2,7 @@ OUT_DIR ?= . all: - gcc -g acrnlog.c -o $(OUT_DIR)/acrnlog -lpthread + $(CC) -g acrnlog.c -o $(OUT_DIR)/acrnlog -lpthread clean: rm $(OUT_DIR)/acrnlog diff --git a/tools/acrntrace/Makefile b/tools/acrntrace/Makefile index 1c02cd4f9..5563a21c6 100644 --- a/tools/acrntrace/Makefile +++ b/tools/acrntrace/Makefile @@ -2,7 +2,7 @@ OUT_DIR ?= . all: - gcc -o $(OUT_DIR)/acrntrace acrntrace.c sbuf.c -I. -lpthread + $(CC) -o $(OUT_DIR)/acrntrace acrntrace.c sbuf.c -I. -lpthread clean: rm $(OUT_DIR)/acrntrace