diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index 2633207113..ce9fe7f702 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -966,7 +966,7 @@ def write_specs_file(self): # rpath if rpath_dir: - f.write(f"*link_libgcc:\n+ -rpath={rpath_dir}\n\n") + f.write(f"*link_libgcc:\n+ -rpath {rpath_dir}\n\n") # programs search path if self.spec.satisfies("+binutils"):