summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/ffmpeg/package.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/ffmpeg/package.py b/var/spack/repos/builtin/packages/ffmpeg/package.py
index 3eb365848c..7d1b31fce8 100644
--- a/var/spack/repos/builtin/packages/ffmpeg/package.py
+++ b/var/spack/repos/builtin/packages/ffmpeg/package.py
@@ -108,7 +108,11 @@ class Ffmpeg(AutotoolsPackage):
def configure_args(self):
spec = self.spec
- config_args = ['--enable-pic']
+ config_args = [
+ '--enable-pic',
+ '--cc={0}'.format(spack_cc),
+ '--cxx={0}'.format(spack_cxx)
+ ]
# '+X' meta variant #