summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-02-27 09:34:14 -0500
committermidipix <writeonce@midipix.org>2016-02-27 16:16:53 -0500
commitfeafa6ac4042f38e2fcf4975e3e4f44161d19040 (patch)
treebb4df8186a7130169c29676b62c0ddedf07ddae1 /configure
parent5bb8672ccded7cae695a3753a14733125f8a0aee (diff)
downloadpemagine-feafa6ac4042f38e2fcf4975e3e4f44161d19040.tar.bz2
pemagine-feafa6ac4042f38e2fcf4975e3e4f44161d19040.tar.xz
build system: added fallback compiler recipe.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 94fa6f3..75083cf 100755
--- a/configure
+++ b/configure
@@ -191,6 +191,13 @@ common_defaults()
mb_host='any-host';
fi
fi
+
+ # fallback compiler recipe
+ if [ -n "$mb_compiler" ]; then
+ if ! [ -f $mb_project_dir/sysinfo/compiler/$mb_compiler.mk ]; then
+ mb_compiler='any-compiler'
+ fi
+ fi
}