git: a9e062971923 - main - gh-bc: don't force CFLAGS to -O0 -g

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Thu, 02 Feb 2023 18:21:46 UTC
The branch main has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=a9e062971923059e8323fac78971a43f8082bd72

commit a9e062971923059e8323fac78971a43f8082bd72
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-02-02 18:20:16 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-02-02 18:20:18 +0000

    gh-bc: don't force CFLAGS to -O0 -g
    
    Otherwise, CFLAGS passed in via bsd.sys.mk or the user's environment are
    not respected, and this leads to link errors on riscv64sf.
---
 usr.bin/gh-bc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/gh-bc/Makefile b/usr.bin/gh-bc/Makefile
index de0c8f36bbc8..a3e3bfd5aab2 100644
--- a/usr.bin/gh-bc/Makefile
+++ b/usr.bin/gh-bc/Makefile
@@ -33,7 +33,7 @@ CATALOGS+=	zh_CN.UTF-8 zh_CN.eucCN zh_CN.GB18030 zh_CN.GB2312 zh_CN.GBK
 NLSNAME=	bc
 NLSSRCDIR=	${BCDIR}/locales
 
-CFLAGS=-g -O0
+#CFLAGS=-g -O0
 CFLAGS+=	-DBC_DEFAULT_BANNER=0
 CFLAGS+=	-DBC_DEFAULT_DIGIT_CLAMP=0
 CFLAGS+=	-DBC_DEFAULT_EXPR_EXIT=1