libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / developer / gcc-10 / patches / 1000-ld-flags.patch
blob752497b781a4b5bc0e0974a44f4a7600a7b58580
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
3 @@ -195,8 +195,8 @@
4 "%{G:-G} \
5 %{YP,*} \
6 %{R*} \
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
14 @@ -208,8 +208,8 @@
15 "%{G:-G} \
16 %{YP,*} \
17 %{R*} \
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
24 #ifndef USE_GLD