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.
This commit is contained in:
Dimitry Andric 2023-02-02 19:20:16 +01:00
parent 79f7745c09
commit a9e0629719

View File

@ -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