summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-02-09 15:56:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-02-09 15:56:01 +0000
commit293ca3eaad1aeb576fa146e7f66d8933edf7d501 (patch)
tree570f7c9ffeb191def382bf2d47a0b7e3fc8ddb8d
parent04c7379ac585d1e79fd454cf860a8592db25c67f (diff)
downloadrockbox-293ca3eaad1aeb576fa146e7f66d8933edf7d501.tar.gz
rockbox-293ca3eaad1aeb576fa146e7f66d8933edf7d501.zip
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
-rw-r--r--apps/plugins/plugin.lds4
1 files changed, 3 insertions, 1 deletions
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