aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-06-12 07:37:03 +0200
committerTristan Gingold <tgingold@free.fr>2020-06-12 07:37:03 +0200
commit967047f328ba8e5a2172ab24200dc6481aa48927 (patch)
tree4487863b1b800a12d7c363729e2db90d1a0b63d0 /configure
parentaa67933c715cc0de09131c9b5852aaffb629c3aa (diff)
downloadghdl-967047f328ba8e5a2172ab24200dc6481aa48927.tar.gz
ghdl-967047f328ba8e5a2172ab24200dc6481aa48927.tar.bz2
ghdl-967047f328ba8e5a2172ab24200dc6481aa48927.zip
configure: factorize code.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index 7e35d451b..a1a4826b4 100755
--- a/configure
+++ b/configure
@@ -225,8 +225,7 @@ echo "Build machine is: $build"
# For mcode, check that gcc emits i386
if test $backend = mcode; then
- gcc_machine=`$CC $CFLAGS -dumpmachine`
- case "$gcc_machine" in
+ case "$build" in
i[3-6]86*) mcode64="" ;;
x86_64*) mcode64="64" ;;
*)