diff options
author | Rebecca Cran <rebecca@bsdio.com> | 2023-04-05 10:01:26 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-04-06 01:32:09 +0000 |
commit | 8d185dfb66700e65035d51f149570aeab728c665 (patch) | |
tree | b489f877ba03149b4451f1683f530ad6c9637655 /BaseTools/Source/C/VfrCompile/Pccts | |
parent | 2bb693894920e634153275bea60278a9f192a8ef (diff) | |
download | edk2-8d185dfb66700e65035d51f149570aeab728c665.zip edk2-8d185dfb66700e65035d51f149570aeab728c665.tar.gz edk2-8d185dfb66700e65035d51f149570aeab728c665.tar.bz2 |
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 <rebecca@bsdio.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'BaseTools/Source/C/VfrCompile/Pccts')
-rw-r--r-- | BaseTools/Source/C/VfrCompile/Pccts/antlr/makefile | 5 |
1 files changed, 0 insertions, 5 deletions
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
|