Mercurial > ecos
changeset 2199:9619b62d5be9
* src/fs-ecos.c: Generalise the check for broken ARM compilers
and add the MIPS compiler as also being broken.
| author | asl |
|---|---|
| date | Tue, 09 May 2006 16:17:55 +0000 |
| parents | 76f597641b84 |
| children | 5de1c0ccd020 |
| files | packages/fs/jffs2/current/ChangeLog packages/fs/jffs2/current/src/fs-ecos.c |
| diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/fs/jffs2/current/ChangeLog +++ b/packages/fs/jffs2/current/ChangeLog @@ -1,3 +1,8 @@ +2006-03-09 Andrew Lunn <andrew.lunn@ascom.ch> + + * src/fs-ecos.c: Generalise the check for broken ARM compilers + and add the MIPS compiler as also being broken. + 2005-08-03 Andrew Lunn <andrew.lunn@ascom.ch> * tests/jffs2_1.c: Include <stdio.h> to stop compiler warning.
--- a/packages/fs/jffs2/current/src/fs-ecos.c +++ b/packages/fs/jffs2/current/src/fs-ecos.c @@ -21,9 +21,10 @@ #include <string.h> #include <cyg/io/config_keys.h> -#if (__GNUC__ == 3) && (__GNUC_MINOR__ == 2) && defined (__ARM_ARCH_4__) +#if (__GNUC__ == 3) && (__GNUC_MINOR__ == 2) && \ + (defined (__arm__) || defined (_mips)) #error This compiler is known to be broken. Please see: -#error http://ecos.sourceware.org/ml/ecos-patches/2003-08/msg00006.html +#error "http://ecos.sourceware.org/ml/ecos-patches/2003-08/msg00006.html" #endif //==========================================================================
