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:
Ondřej Čertík 2017-10-24 23:09:41 -06:00 committed by Todd Gamblin
parent b47ff33f11
commit 882480fad6

View File

@ -45,4 +45,9 @@ class Gdbm(AutotoolsPackage):
depends_on("readline")
def configure_args(self):
return ['--enable-libgdbm-compat']
config_args = [
'--enable-libgdbm-compat',
'CC=%s' % spack_cc
]
return config_args