From fd85c1f0c07023284b5b86b2e2fe6d07de631d74 Mon Sep 17 00:00:00 2001 From: Sergey Kosukhin Date: Thu, 26 Apr 2018 15:44:17 +0200 Subject: [PATCH] Package 'gdbm': do not set CC. (#7912) --- var/spack/repos/builtin/packages/gdbm/package.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/var/spack/repos/builtin/packages/gdbm/package.py b/var/spack/repos/builtin/packages/gdbm/package.py index 70754388aa..bbe9698b38 100644 --- a/var/spack/repos/builtin/packages/gdbm/package.py +++ b/var/spack/repos/builtin/packages/gdbm/package.py @@ -45,12 +45,5 @@ class Gdbm(AutotoolsPackage): depends_on("readline") - def setup_environment(self, spack_env, run_env): - spack_env.set('CC', spack_cc) - def configure_args(self): - config_args = [ - '--enable-libgdbm-compat', - ] - - return config_args + return ['--enable-libgdbm-compat']