From 8d185dfb66700e65035d51f149570aeab728c665 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Wed, 5 Apr 2023 10:01:26 -0700 Subject: BaseTools: Update antlr makefile to use cc by default Update the antlr makefile to remove the explicit setting of CC to either clang or gcc. This causes it to use /usr/bin/cc or whatever the user has set $(CC) to. This removes the last dependency on gcc for BaseTools. Signed-off-by: Rebecca Cran Reviewed-by: Liming Gao --- BaseTools/Source/C/VfrCompile/Pccts/antlr/makefile | 5 ----- 1 file changed, 5 deletions(-) (limited to 'BaseTools') diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/makefile b/BaseTools/Source/C/VfrCompile/Pccts/antlr/makefile index 42b6035..746d58b 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/makefile +++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/makefile @@ -164,11 +164,6 @@ PCCTS_H=../h # # UNIX (default) # -ifneq ($(CLANG),) -CC?=$(CLANG_BIN)clang -else ifeq ($(origin CC),default) -CC=gcc -endif COPT=-O ANTLR=${BIN_DIR}/antlr DLG=${BIN_DIR}/dlg -- cgit v1.1