summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-01-12 08:20:18 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-01-12 08:20:18 +0000
commitcf3299b4a7621128279ec8a6ab928e95fd5848b3 (patch)
tree80a62a05f61676ebab0c1bc9b52c29b336b31c04 /ldso
parent4c49fbb6b5aeae1767d68e2cc62e2734c87ab766 (diff)
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>
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/sh/dl-syscalls.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ldso/ldso/sh/dl-syscalls.h b/ldso/ldso/sh/dl-syscalls.h
index 996bb87c6..7902f362d 100644
--- a/ldso/ldso/sh/dl-syscalls.h
+++ b/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