diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-06-12 07:37:03 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-06-12 07:37:03 +0200 |
commit | 967047f328ba8e5a2172ab24200dc6481aa48927 (patch) | |
tree | 4487863b1b800a12d7c363729e2db90d1a0b63d0 | |
parent | aa67933c715cc0de09131c9b5852aaffb629c3aa (diff) | |
download | ghdl-967047f328ba8e5a2172ab24200dc6481aa48927.tar.gz ghdl-967047f328ba8e5a2172ab24200dc6481aa48927.tar.bz2 ghdl-967047f328ba8e5a2172ab24200dc6481aa48927.zip |
configure: factorize code.
-rwxr-xr-x | configure | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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" ;; *) |