From 3729fcdb4b0c996e96c068d4e3d89dcd200d2e0f Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Sat, 1 May 2021 18:56:14 -0400 Subject: [PATCH] gcc: Explicitly disable bootstrapping (#23360) We need to explicitly disable bootstrapping when `~bootstrap` since GCC bootstraps by default. --- var/spack/repos/builtin/packages/gcc/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index 6d1af7cc88..a2a7243bb0 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -509,6 +509,10 @@ def configure_args(self): options.extend([ '--enable-bootstrap', ]) + else: + options.extend([ + '--disable-bootstrap', + ]) # Configure include and lib directories explicitly for these # dependencies since the short GCC option assumes that libraries