1 --- ./gcc/config/sol2.h.orig 2016-05-08 21:13:10.810423614 +0200
2 +++ ./gcc/config/sol2.h 2016-05-08 21:16:55.681535743 +0200
7 - %{!YP,*:%{p|pg:-Y P,%R/usr/lib/libp%R/lib:%R/usr/lib} \
8 - %{!p:%{!pg:-Y P,%R/lib:%R/usr/lib}}}"
9 + %{!YP,*:%{p|pg:-Y P,%R/usr/gcc/10/lib:%R/lib:%R/usr/lib -R %R/usr/gcc/10/lib -L %R/usr/gcc/10/lib} \
10 + %{!p:%{!pg:-Y P,%R/usr/gcc/10/lib:%R/lib:%R/usr/lib -R %R/usr/gcc/10/lib -L %R/usr/gcc/10/lib}}}"
12 #undef LINK_ARCH32_SPEC
13 #define LINK_ARCH32_SPEC LINK_ARCH32_SPEC_BASE
18 - %{!YP,*:%{p|pg:-Y P,%R/usr/lib/libp/" ARCH64_SUBDIR ":%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "} \
19 - %{!p:%{!pg:-Y P,%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}}}"
20 + %{!YP,*:%{p|pg:-Y P,%R/usr/gcc/10/lib/" ARCH64_SUBDIR ":%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR " -R %R/usr/gcc/10/lib/" ARCH64_SUBDIR " -L %R/usr/gcc/10/lib/" ARCH64_SUBDIR "} \
21 + %{!p:%{!pg:-Y P,%R/usr/gcc/10/lib/" ARCH64_SUBDIR ":%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR " -R %R/usr/gcc/10/lib/" ARCH64_SUBDIR " -L %R/usr/gcc/10/lib/" ARCH64_SUBDIR "}}}"
23 #undef LINK_ARCH64_SPEC