tree/0001-Support-specify-CC.patch

29 lines
633 B
Diff
Raw Normal View History

2023-04-19 15:18:39 +08:00
From c90782c682df0488d51e245d6413be336b7f6782 Mon Sep 17 00:00:00 2001
From: jammyjellyfish <jammyjellyfish255@outlook.com>
Date: Wed, 19 Apr 2023 14:46:09 +0800
Subject: [PATCH] Support specify CC
Makefile set CC compiler as gcc, and not reading CC from
environment variable. This patch lets Makefile read $CC
environment variable and use it as compiler, if exists
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 752e550..0297cf7 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@
PREFIX=/usr/local
-CC=gcc
+CC?=gcc
INSTALL=install
2023-07-17 19:26:10 +08:00
VERSION=2.1.1
2023-04-19 15:18:39 +08:00
--
2.40.0