24 lines
523 B
Diff
24 lines
523 B
Diff
|
|
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
|
||
|
|
|