summaryrefslogtreecommitdiff
path: root/0002-Fix-CC-compiler-support.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-09-22 11:37:06 +0000
committerCoprDistGit <infra@openeuler.org>2025-09-22 11:37:06 +0000
commitb4569749c080c40468b3d6495165389b02ca2280 (patch)
treebb44e21e2f8c6f4a0add0a9e4331f94b9b174719 /0002-Fix-CC-compiler-support.patch
parentb8be8a0933f0f46ed3216a88793bf05c6cb2b023 (diff)
automatic import of protobuf
Diffstat (limited to '0002-Fix-CC-compiler-support.patch')
-rw-r--r--0002-Fix-CC-compiler-support.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0002-Fix-CC-compiler-support.patch b/0002-Fix-CC-compiler-support.patch
new file mode 100644
index 0000000..d4f4440
--- /dev/null
+++ b/0002-Fix-CC-compiler-support.patch
@@ -0,0 +1,29 @@
+From b62fbe3852ea070f1bfbb048e71dfae70c7c71f0 Mon Sep 17 00:00:00 2001
+From: wangqiang <wangqiang1@kylinos.cn>
+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
+