kpatch/0039-build-support-for-building-with-clang.patch

24 lines
461 B
Diff
Raw Normal View History

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