diff -ru gmp-4.2.1.orig/gmp-h.in gmp-4.2.1/gmp-h.in
--- gmp-4.2.1.orig/gmp-h.in	2015-07-29 01:51:46.040040732 +0200
+++ gmp-4.2.1/gmp-h.in	2015-07-29 01:52:04.640149809 +0200
@@ -420,7 +420,7 @@
    for an inline too, so as to correctly specify "dllimport" on windows, in
    case the function is called rather than inlined.  */
 #ifdef __GNUC__
-#define __GMP_EXTERN_INLINE      extern __inline__
+#define __GMP_EXTERN_INLINE      extern __inline__ __attribute__ ((__gnu_inline__))
 #define __GMP_INLINE_PROTOTYPES  1
 #endif
 
