summaryrefslogtreecommitdiffstats
path: root/build/mixxx.py
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2019-06-10 16:48:51 +0200
committerGitHub <noreply@github.com>2019-06-10 16:48:51 +0200
commit8a811dccad42b6f5db18f4dd2d9698f7476c226a (patch)
treed4bac8382685dede806e19ed5765f8f1981a7e39 /build/mixxx.py
parent21e303183e5690c76312e5844e9da39f2006b1d9 (diff)
parent31acfec77e95c48c0a405c3f01bc213a72e9aa9c (diff)
Merge pull request #2144 from poelzi/feature/nix-config
Feature/nix config
Diffstat (limited to 'build/mixxx.py')
-rw-r--r--build/mixxx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/mixxx.py b/build/mixxx.py
index b160dd7d4e..b9501ee81a 100644
--- a/build/mixxx.py
+++ b/build/mixxx.py
@@ -212,7 +212,7 @@ class MixxxBuild(object):
# Now that environment variables have been read, we can detect the compiler.
import subprocess
- process = subprocess.Popen([self.env['CC'], '--version'], stdout=subprocess.PIPE)
+ process = subprocess.Popen("%s %s" %(self.env['CC'], '--version'), stdout=subprocess.PIPE, shell=True) # nosec
(stdout, stderr) = process.communicate()
self.compiler_is_gcc = 'gcc' in stdout.lower()
self.compiler_is_clang = 'clang' in stdout.lower()
@@ -220,7 +220,7 @@ class MixxxBuild(object):
# Determine the major compiler version (only GCC)
if self.compiler_is_gcc:
self.gcc_major_version = None
- process = subprocess.Popen([self.env['CC'], '-dumpversion'], stdout=subprocess.PIPE)
+ process = subprocess.Popen("%s %s" %(self.env['CC'], '-dumpversion'), stdout=subprocess.PIPE, shell=True) # nosec
(stdout, stderr) = process.communicate()
gcc_version = stdout
# If match is None we don't know the version.