vsftpd/0072-support-clang-build.patch
luofeng14 8c5931cdf6 support clang build
Signed-off-by: luofeng14 <luofeng13@huawei.com>
(cherry picked from commit f2213b660ec16746910d6e6ff9e813398b19b073)
2024-03-27 17:21:35 +08:00

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