已开启
修改 spec 支持指定 CC 编译 #7
AtomGit-Bot创建于  2023年4月6日
AtomGit-Bot
2023年4月6日 创建

spec 文件中,将 CC 指定为 gcc

make V=1 %{?_smp_mflags} CC="gcc $RPM_OPT_FLAGS"

可以修改为

make V=1 %{?_smp_mflags} CC="$CC $RPM_OPT_FLAGS"

支持使用环境变量指定的 CC 进行构建。修改 spec 文件后指定 CC=clang 构建成功。

likedislike
AAtomGit-Bot
2023年4月6日 创建了需求
openeuler-ci-bot
openeuler-ci-bot成员
2023年4月6日 评论:

Hi jammyjellyfish, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-CloudNative, and any of the maintainers: @yangzhao_kl , @biannm , @pixiake , @duguhaotian , @caihaomin , @jianminw , @weibaohui , @jxy_git , @wonleing

likedislike
openeuler-ci-botopeneuler-ci-bot成员
2023年4月6日 添加了   sig/sig-CloudNative 标签
AAtomGit-Bot
2023年4月6日 修改了描述
AAtomGit-Bot
2023年4月14日 关联了src-openEuler/busybox Pull Request !83
Llvgenggeng
2023年7月19日 关联了src-openEuler/busybox Pull Request !87