mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-23 20:28:21 -07:00
Fix crossdev in version 0.31.0-r2. Closes: https://bugs.gentoo.org/665544 Closes: https://github.com/gentoo/gentoo/pull/11484 Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Gábor Oszkár Dénes <gaboroszkar@protonmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
13 lines
505 B
Diff
13 lines
505 B
Diff
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -50,7 +50,8 @@
|
|
'*Visual*', 'VC', 'include')
|
|
err = glob.glob(globmask)
|
|
else:
|
|
- pid = subprocess.Popen(['cpp', '-Wp,-v', '-'],
|
|
+ pid = subprocess.Popen(os.environ.get('CPP', 'cpp').split() +
|
|
+ ['-Wp,-v', '-'],
|
|
stdin=open(os.devnull, 'r'),
|
|
stdout=subprocess.PIPE,
|
|
stderr=subprocess.PIPE)
|