gdbm: pass in proper CPPFLAGS (#5893)
The problem was that the configure script was not using spack's compiler wrappers. We now pass the proper compiler wrapper using the CC argument explicitly. Fixes #5892.
This commit is contained in:
parent
b47ff33f11
commit
882480fad6
@ -45,4 +45,9 @@ class Gdbm(AutotoolsPackage):
|
|||||||
depends_on("readline")
|
depends_on("readline")
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
return ['--enable-libgdbm-compat']
|
config_args = [
|
||||||
|
'--enable-libgdbm-compat',
|
||||||
|
'CC=%s' % spack_cc
|
||||||
|
]
|
||||||
|
|
||||||
|
return config_args
|
||||||
|
Loading…
Reference in New Issue
Block a user