summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin.lds
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r--apps/plugins/plugin.lds8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index d890639..dd52fba 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -10,10 +10,10 @@ OUTPUT_FORMAT(elf32-littlearm)
OUTPUT_FORMAT(elf32-sh)
#elif defined(CPU_MIPS)
OUTPUT_FORMAT(elf32-littlemips)
-#else
-/* We cannot have an #error here since we don't have any of these defines
- define when we build simulators!
- #error Unknown CPU architecture */
+#elif !defined(SIMULATOR)
+/* We cannot have an #error here when building simulators since we don't have
+ any CPU defined then! */
+#error Unknown CPU architecture
#endif
#ifdef DEBUG