diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/yaml-cpp/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/yaml-cpp/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/yaml-cpp/package.py b/var/spack/repos/builtin/packages/yaml-cpp/package.py index e537af6b41..59228ec4cb 100644 --- a/var/spack/repos/builtin/packages/yaml-cpp/package.py +++ b/var/spack/repos/builtin/packages/yaml-cpp/package.py @@ -36,7 +36,7 @@ class YamlCpp(CMakePackage): variant('shared', default=True, description='Enable build of shared libraries') - variant('fpic', default=True, + variant('pic', default=True, description='Build with position independent code') depends_on('boost', when='@:0.5.3') @@ -49,7 +49,7 @@ class YamlCpp(CMakePackage): '-DBUILD_SHARED_LIBS:BOOL=%s' % ( 'ON' if '+shared' in spec else 'OFF'), '-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=%s' % ( - 'ON' if '+fpic' in spec else 'OFF'), + 'ON' if '+pic' in spec else 'OFF'), ]) return options |