[edk2-devel] 回复: [PATCH 1/1] BaseTools: Update antlr makefile to use cc by default

gaoliming via groups.io gaoliming=byosoft.com.cn at groups.io
Thu Apr 6 00:43:20 UTC 2023


Reviewed-by: Liming Gao <gaoliming at byosoft.com.cn>

> -----邮件原件-----
> 发件人: Rebecca Cran <rebecca at bsdio.com>
> 发送时间: 2023年4月6日 1:03
> 收件人: devel at edk2.groups.io; Bob Feng <bob.c.feng at intel.com>; Liming
> Gao <gaoliming at byosoft.com.cn>; Yuwei Chen <yuwei.chen at intel.com>;
> Michael D Kinney <michael.d.kinney at intel.com>
> 抄送: Rebecca Cran <rebecca at bsdio.com>
> 主题: [PATCH 1/1] 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 at bsdio.com>
> ---
>  BaseTools/Source/C/VfrCompile/Pccts/antlr/makefile | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/makefile
> b/BaseTools/Source/C/VfrCompile/Pccts/antlr/makefile
> index 42b603571fab..746d58b5e24e 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
> --
> 2.40.0





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#102571): https://edk2.groups.io/g/devel/message/102571
Mute This Topic: https://groups.io/mt/98096007/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list