1 --- gcc-11.2.0/gcc/gcc.cc.orig 2022-04-18 15:40:02.650553155 +0200
2 +++ gcc-11.2.0/gcc/gcc.cc 2022-04-19 09:31:21.340818868 +0200
7 - /* Exclude directories that the linker is known to search. */
9 - && IS_DIR_SEPARATOR (path[0])
11 - && filename_ncmp (path + 1, "lib", 3) == 0)
13 - && filename_ncmp (path + 1, "usr", 3) == 0
14 - && IS_DIR_SEPARATOR (path[4])
15 - && filename_ncmp (path + 5, "lib", 3) == 0)))
18 return (stat (path, &st) >= 0 && S_ISDIR (st.st_mode));