summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index 4e548ee..8491ffd 100755
--- a/tools/configure
+++ b/tools/configure
@@ -3701,6 +3701,14 @@ if [ -z "$debug" ]; then
GCCOPTS="$GCCOPTS $GCCOPTIMIZE"
fi
+# if building a simulator for an hosted port, APPLICATION
+# define clashes with SIMULATOR define
+
+if [ "yes" = "$simulator" ]; then
+ echo Unsetting APPLICATION define for SIMULATOR build
+ unset application
+fi
+
if [ "yes" = "$application" ]; then
echo Building Rockbox as an Application
extradefines="$extradefines -DAPPLICATION"