1 Star 0 Fork 40

zhangwenlong01/protobuf

forked from src-openEuler/protobuf 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0002-Fix-CC-compiler-support.patch 745 Bytes
一键复制 编辑 原始数据 按行查看 历史
From b62fbe3852ea070f1bfbb048e71dfae70c7c71f0 Mon Sep 17 00:00:00 2001
From: wangqiang <[email protected]>
Date: Tue, 19 Mar 2024 18:54:13 +0800
Subject: [PATCH] Fix CC compiler support
---
third_party/utf8_range/utf8_to_utf16/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/third_party/utf8_range/utf8_to_utf16/Makefile b/third_party/utf8_range/utf8_to_utf16/Makefile
index 853ffa4..30ef021 100644
--- a/third_party/utf8_range/utf8_to_utf16/Makefile
+++ b/third_party/utf8_range/utf8_to_utf16/Makefile
@@ -1,10 +1,10 @@
-CC = gcc
+CC := ${CC}
CPPFLAGS = -g -O3 -Wall -march=native
OBJS = main.o iconv.o naive.o
utf8to16: ${OBJS}
- gcc $^ -o $@
+ ${CC} $^ -o $@
.PHONY: clean
clean:
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangwenlong01/protobuf.git
[email protected]:zhangwenlong01/protobuf.git
zhangwenlong01
protobuf
protobuf
master

搜索帮助