0043-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch (502B)
1 From: Alpine Linux community 2 From: Olsken (updated patches) 3 Date: Sat, 21 Aug 2021 08:51:52 +0000 4 5 diff --git a/gcc/config.in b/gcc/config.in 6 index d0287d4cc..8c10816c4 100644 7 --- a/gcc/config.in 8 +++ b/gcc/config.in 9 @@ -112,6 +112,12 @@ 10 #endif 11 12 13 +/* Define if libatomic should always be linked. */ 14 +#ifndef USED_FOR_TARGET 15 +#undef ENABLE_AUTOLINK_LIBATOMIC 16 +#endif 17 + 18 + 19 /* Define to 1 to specify that we are using the BID decimal floating point 20 format instead of DPD */ 21 #ifndef USED_FOR_TARGET