]> xenbits.xensource.com Git - ovmf.git/commitdiff
BaseTools: Update antlr makefile to use cc by default
authorRebecca Cran <rebecca@bsdio.com>
Wed, 5 Apr 2023 17:01:26 +0000 (10:01 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 6 Apr 2023 01:32:09 +0000 (01:32 +0000)
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 <rebecca@bsdio.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
BaseTools/Source/C/VfrCompile/Pccts/antlr/makefile

index 42b603571fab6c7d39298287bf43682bf2d73d1d..746d58b5e24e436fa332a22c1bb84bd036592a47 100644 (file)
@@ -164,11 +164,6 @@ PCCTS_H=../h
 #\r
 #   UNIX  (default)\r
 #\r
-ifneq ($(CLANG),)\r
-CC?=$(CLANG_BIN)clang\r
-else ifeq ($(origin CC),default)\r
-CC=gcc\r
-endif\r
 COPT=-O\r
 ANTLR=${BIN_DIR}/antlr\r
 DLG=${BIN_DIR}/dlg\r