diff --git a/gcc/config/sh/t-sh b/gcc/config/sh/t-sh index c2462a092d7..9d35d0c5607 100644 --- a/gcc/config/sh/t-sh +++ b/gcc/config/sh/t-sh @@ -19,10 +19,17 @@ lshrsi3.c: $(srcdir)/config/sh/lshrsi3.c cp $(srcdir)/config/sh/lshrsi3.c lshrsi3.c dp-bit.c: $(srcdir)/config/fp-bit.c - cat $(srcdir)/config/fp-bit.c > dp-bit.c + echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c + echo '#define FLOAT_BIT_ORDER_MISMATCH' >>dp-bit.c + echo '#endif' >> dp-bit.c + cat $(srcdir)/config/fp-bit.c >> dp-bit.c + fp-bit.c: $(srcdir)/config/fp-bit.c echo '#define FLOAT' > fp-bit.c + echo '#ifdef __LITTLE_ENDIAN__' >> fp-bit.c + echo '#define FLOAT_BIT_ORDER_MISMATCH' >>fp-bit.c + echo '#endif' >> fp-bit.c cat $(srcdir)/config/fp-bit.c >> fp-bit.c