mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-11 13:05:11 +02:00
13 lines
456 B
Diff
13 lines
456 B
Diff
In Void cross-build environments, $CC and $CXX may actually contain arguments.
|
|
|
|
--- a/setup.py 2024-11-26 09:12:22.059041830 -0500
|
|
+++ b/setup.py 2024-11-26 09:12:44.641146370 -0500
|
|
@@ -92,7 +92,7 @@
|
|
)
|
|
cxx = os.environ.get("CXX", "c++")
|
|
cpp_test = subprocess.Popen(
|
|
- [cxx, "-x", "c++", "-std=c++14", "-"],
|
|
+ shlex.split(cxx) + ["-x", "c++", "-std=c++14", "-"],
|
|
stdin=PIPE,
|
|
stdout=PIPE,
|
|
stderr=PIPE,
|