pciutils/0002-Support-specify-CC.patch

26 lines
561 B
Diff
Raw Permalink Normal View History

From 31159c692224d645275a7fa8ce772ef5748e6a54 Mon Sep 17 00:00:00 2001
From: luofeng <luofeng13@huawei.com>
Date: Thu, 21 Mar 2024 10:41:53 +0800
Subject: [PATCH] support specify CC
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 68dc923..d2e3dea 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ STRIP=--strip-program $(CROSS_COMPILE)-strip
CC=$(CROSS_COMPILE)gcc
else
STRIP=-s
-CC=cc
+CC?=cc
endif
AR=$(CROSS_COMPILE)ar
RANLIB=$(CROSS_COMPILE)ranlib
--
2.19.1