summaryrefslogtreecommitdiff
path: root/0072-support-clang-build.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-07-15 09:13:36 +0000
committerCoprDistGit <infra@openeuler.org>2024-07-15 09:13:36 +0000
commit87f2d52ac49f8e54d25a6bfcada2747381dcda3c (patch)
tree3700124d2256f460e93567fa6f3cfa6ec0d44787 /0072-support-clang-build.patch
parent908f6497506278a654656b2ed78b9cf08a892218 (diff)
Diffstat (limited to '0072-support-clang-build.patch')
-rw-r--r--0072-support-clang-build.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/0072-support-clang-build.patch b/0072-support-clang-build.patch
new file mode 100644
index 0000000..701c52f
--- /dev/null
+++ b/0072-support-clang-build.patch
@@ -0,0 +1,23 @@
+From 82e326f7edba4ea35bf4d5488664947e36de5de7 Mon Sep 17 00:00:00 2001
+From: luofeng <luofeng13@huawei.com>
+Date: Mon, 11 Mar 2024 11:12:24 +0800
+Subject: [PATCH] support clang build
+
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 0f7411c..3f736e2 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,5 +1,5 @@
+ # Makefile for systems with GNU tools
+-CC = gcc
++CC ?= gcc
+ INSTALL = install
+ IFLAGS = -idirafter dummyinc
+ #CFLAGS = -g
+--
+2.19.1
+