kpatch/0039-build-support-for-building-with-clang.patch
luofeng14 cb656e72c9 support clang build
(cherry picked from commit ebf0e139853e7b48705249ab40710041547d717f)
2024-03-22 14:54:57 +08:00

24 lines
461 B
Diff

From a123fd8afbfe9afac99211c1f7244e1b75788d14 Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Tue, 19 Mar 2024 12:48:18 +0800
Subject: [PATCH] support clang build
---
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 15049f3..0039821 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,5 +1,5 @@
SHELL = /bin/sh
-CC = gcc
+CC ?= gcc
INSTALL = /usr/bin/install
--
2.19.1