From 568e79a1e35ff4ce78ba05ca446b793506787167 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Fri, 12 Jul 2024 11:30:56 +0200 Subject: [PATCH] gcc: consider link when detecting compilers (#45169) --- var/spack/repos/builtin/packages/gcc/package.py | 3 --- 1 file changed, 3 deletions(-) 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)