summaryrefslogtreecommitdiff
path: root/0072-support-clang-build.patch
blob: 701c52f50e1e59501454ead4c62ad0769304c648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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