Files
MINGW-packages/mingw-w64-python/0128-Use-CC-instead-of-cc.patch
2022-04-24 20:14:24 +02:00

26 lines
874 B
Diff

From ea71d7beb72ec7c0e9b7a71213f7edc839cf68a0 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.3