summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-02-16 08:31:30 -0600
committerGitHub <noreply@github.com>2020-02-16 08:31:29 -0600
commit60847abf0e9ec2939ff13950e9d6c00b6b73e17e (patch)
treea4920b4dd7268dfd896a5681de0a084bca3320ce
parent8071369ffe693696320f9f70894ead35adae06f8 (diff)
downloadspack-60847abf0e9ec2939ff13950e9d6c00b6b73e17e.tar.gz
spack-60847abf0e9ec2939ff13950e9d6c00b6b73e17e.tar.bz2
spack-60847abf0e9ec2939ff13950e9d6c00b6b73e17e.tar.xz
spack-60847abf0e9ec2939ff13950e9d6c00b6b73e17e.zip
gdb: fix installation (#15016)
-rw-r--r--var/spack/repos/builtin/packages/gdb/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gdb/package.py b/var/spack/repos/builtin/packages/gdb/package.py
index e90f28d662..825291feb0 100644
--- a/var/spack/repos/builtin/packages/gdb/package.py
+++ b/var/spack/repos/builtin/packages/gdb/package.py
@@ -41,6 +41,8 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage):
depends_on('python', when='+python')
depends_on('xz', when='+xz')
+ build_directory = 'spack-build'
+
def configure_args(self):
args = []
if '+python' in self.spec: