diff options
-rwxr-xr-x | tools/configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure index a7076236d0..b682cbd223 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -237,7 +237,7 @@ simcc () { | |||
237 | 237 | ||
238 | GCCOPTS="$GCCOPTS -fno-builtin -g" | 238 | GCCOPTS="$GCCOPTS -fno-builtin -g" |
239 | GCCOPTIMIZE='' | 239 | GCCOPTIMIZE='' |
240 | LDOPTS='$LDOPTS -lm' # button-sdl.c uses sqrt() | 240 | LDOPTS="$LDOPTS -lm" # button-sdl.c uses sqrt() |
241 | sigaltstack="" | 241 | sigaltstack="" |
242 | fibers="" | 242 | fibers="" |
243 | endian="" # endianess of the dap doesnt matter here | 243 | endian="" # endianess of the dap doesnt matter here |
@@ -3686,7 +3686,7 @@ if [ -z "$arch" ]; then | |||
3686 | arch_version="$(echo $cpp_defines | sed s,\ ,\\n,g | grep __ARM_ARCH | sed -e 's,.*\([0-9]\).*,\1,')" | 3686 | arch_version="$(echo $cpp_defines | sed s,\ ,\\n,g | grep __ARM_ARCH | sed -e 's,.*\([0-9]\).*,\1,')" |
3687 | elif [ -n "$(echo $cpp_defines | grep -w __mips__)" ]; then | 3687 | elif [ -n "$(echo $cpp_defines | grep -w __mips__)" ]; then |
3688 | arch="mips" # FIXME: autodetect version (32 or 64) | 3688 | arch="mips" # FIXME: autodetect version (32 or 64) |
3689 | elif [ -n "$(echo $cpp_defines | grep -w _X86_)" ]; then | 3689 | elif [ -n "$(echo $cpp_defines | grep -w __i386__)" ]; then |
3690 | arch="x86" | 3690 | arch="x86" |
3691 | elif [ -n "$(echo $cpp_defines | grep -w __x86_64__)" ]; then | 3691 | elif [ -n "$(echo $cpp_defines | grep -w __x86_64__)" ]; then |
3692 | arch="amd64" | 3692 | arch="amd64" |