summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h b/gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h
index 94a560dd097..dc737c46f6c 100644
--- a/gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h
@@ -88,6 +88,9 @@ Boston, MA 02111-1307, USA. */
0, VOIDmode, 2, (TRAMP), Pmode, \
GEN_INT (TRAMPOLINE_SIZE), Pmode)
+#if defined(CROSS_COMPILE) && !defined(ATTRIBUTE_UNUSED)
+#define ATTRIBUTE_UNUSED
+#endif
#undef TRANSFER_FROM_TRAMPOLINE
#define TRANSFER_FROM_TRAMPOLINE \
extern void __dcache_sync(int, int); \