Browse Source

Make sh4 build works again adding a temporary work-around
iby redefining __always_inline to inline until gcc 4.x.x will get
fixed.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>

Carmelo Amoroso 17 năm trước cách đây
mục cha
commit
cf3299b4a7
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      ldso/ldso/sh/dl-syscalls.h

+ 5 - 0
ldso/ldso/sh/dl-syscalls.h

@@ -4,3 +4,8 @@
 extern int _dl_errno;
 #undef __set_errno
 #define __set_errno(X) {(_dl_errno) = (X);}
+#warning !!! __always_inline redefined waiting for the fixed gcc
+#ifdef __always_inline
+#undef __always_inline
+#define __always_inline inline
+#endif