From 293ca3eaad1aeb576fa146e7f66d8933edf7d501 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 9 Feb 2009 15:56:01 +0000 Subject: don't do #error if no CPU define was found since we don't set it on simulator builds! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19955 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/plugin.lds | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 66433c13e9..d890639c75 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -11,7 +11,9 @@ OUTPUT_FORMAT(elf32-sh) #elif defined(CPU_MIPS) OUTPUT_FORMAT(elf32-littlemips) #else -#error Unknown CPU architecture +/* We cannot have an #error here since we don't have any of these defines + define when we build simulators! + #error Unknown CPU architecture */ #endif #ifdef DEBUG -- cgit v1.2.3