~ruther/guix-local

ref: 9dce86b1cb4abaf2c3d40e2b41ea09df6f2a249d guix-local/gnu/packages/patches/gcc-4.9-inline.patch -rw-r--r-- 436 bytes
9dce86b1 — Tomas Volf .dir-locals: Configure indentation for swap-space. 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ru a/gcc/cp/cfns.h b/gcc/cp/cfns.h
--- a/gcc/cp/cfns.h	1970-01-01 01:00:01.000000000 +0100
+++ b/gcc/cp/cfns.h	2023-04-23 09:23:28.883815598 +0200
@@ -53,6 +53,9 @@
 static unsigned int hash (const char *, unsigned int);
 #ifdef __GNUC__
 __inline
+#ifdef __GNUC_STDC_INLINE__
+__attribute__ ((__gnu_inline__))
+#endif
 #endif
 const char * libc_name_p (const char *, unsigned int);
 /* maximum key range = 391, duplicates = 0 */