Files
MINGW-packages/mingw-w64-python/0128-Use-CC-instead-of-cc.patch
2022-03-18 15:48:33 +01:00

26 lines
874 B
Diff

From f56d833867487ffd8f27191006c3788efbc3489a Mon Sep 17 00:00:00 2001
From: Long Nguyen <nguyen.long.908132@gmail.com>
Date: Mon, 28 Feb 2022 00:06:06 +0700
Subject: [PATCH 128/N] Use CC instead of cc
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 43e5ee0..b967544 100644
--- a/setup.py
+++ b/setup.py
@@ -724,7 +724,7 @@ class PyBuildExt(build_ext):
add_dir_to_list(self.compiler.include_dirs,
line.strip())
if is_clang:
- ret = run_command('%s -print-search-dirs >%s' % (cc, tmpfile))
+ ret = run_command('%s -print-search-dirs >%s' % (CC, tmpfile))
if ret == 0:
with open(tmpfile) as fp:
for line in fp.readlines():
--
2.35.1