diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2012-11-15 21:42:24 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2012-11-15 21:42:24 +0000 |
commit | 82da634ac260f677dfc23f0b4ea2d93ce6a94376 (patch) | |
tree | a0efdcbd8ea11bb6de98eac9134358a02561616f /gnu | |
parent | a7a1cfc67474f4691dad7eda45409979080b0a3e (diff) |
Make this cross-compile friendly by defining ATTRIBUTE_UNUSED to an empty
string if not defined already, when cross-compiling. (curse words censored)
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h | 3 |
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); \ |