aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlfred M. Szmidt <ams@gnu.org>2021-06-10 09:41:52 +0200
committerTristan Gingold <tgingold@free.fr>2021-06-13 06:39:58 +0200
commita79805c35b0277096c7831ea4fd2b689ff6cb890 (patch)
tree778854844dde812ae6bf9ba6b1c78a7e6944f548 /configure
parent8b7670a799042bad2f0911bb143515f0bbf540c8 (diff)
downloadghdl-a79805c35b0277096c7831ea4fd2b689ff6cb890.tar.gz
ghdl-a79805c35b0277096c7831ea4fd2b689ff6cb890.tar.bz2
ghdl-a79805c35b0277096c7831ea4fd2b689ff6cb890.zip
configure: Add checks for OpenBSD.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 21c2e493b..68cf6893f 100755
--- a/configure
+++ b/configure
@@ -228,6 +228,7 @@ if test $backend = mcode; then
case "$build" in
i[3-6]86*) mcode64="" ;;
x86_64*) mcode64="64" ;;
+ amd64*) mcode64="64" ;;
*)
mcode64=""
echo "WARNING: GHDL for mcode is supported only on x86"
@@ -376,6 +377,7 @@ if test $backend = mcode; then
*darwin*) ortho_flags="Flags_Macosx${mcode64}" ;;
*mingw32*) ortho_flags="Flags_Windows${mcode64}" ;;
*linux*) ortho_flags="Flags_Linux${mcode64}" ;;
+ *openbsd*) ortho_flags="Flags_Openbsd${mcode64}" ;;
*) echo "Unsupported $build build for mcode"; exit 1;;
esac
echo "Generate ortho_code-x86-flags.ads"