diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index ce7625ca371..a36db90274c 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -561,9 +561,6 @@ def filter_detected_exes(cls, prefix, exes_in_prefix): ] if any(x in basename for x in substring_to_be_filtered): continue - # Filter out links in favor of real executables - if os.path.islink(exe): - continue result.append(exe)