lmdb package: Fix build with other compilers (#23704)
lmdb hardcodes gcc in its Makefile, so override it.
This commit is contained in:
parent
79d8691dde
commit
f0d5d992e6
@ -23,6 +23,10 @@ class Lmdb(MakefilePackage):
|
|||||||
|
|
||||||
build_directory = 'libraries/liblmdb'
|
build_directory = 'libraries/liblmdb'
|
||||||
|
|
||||||
|
@property
|
||||||
|
def build_targets(self):
|
||||||
|
return ['CC={0}'.format(spack_cc)]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def install_targets(self):
|
def install_targets(self):
|
||||||
return ['prefix={0}'.format(self.prefix), 'install']
|
return ['prefix={0}'.format(self.prefix), 'install']
|
||||||
|
Loading…
Reference in New Issue
Block a user