pciutils/0002-Support-specify-CC.patch
luofeng14 c54f8b65a7 support specify cc
(cherry picked from commit 70931538e1be99129dd9ef02c4079bb125731668)
2024-03-21 17:08:29 +08:00

26 lines
561 B
Diff

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