diff --git a/build/make/configure.sh b/build/make/configure.sh
index 23dc87f31aa1edc08a95a01a64f320be99bc8d55..a7e17864b200229c6835096161f3bef9e9544aeb 100755
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1179,7 +1179,7 @@ EOF
     check_cc <<EOF && INLINE="inline"
     static inline function() {}
 EOF
-    check_cc <<EOF && INLINE="__attribute__((always_inline))"
+    check_cc <<EOF && INLINE="__inline__ __attribute__((always_inline))"
     static __attribute__((always_inline)) function() {}
 EOF