From 8e956921aba0d7bada8b1f4664286648d08423fd Mon Sep 17 00:00:00 2001 From: winexe0 <47309918+winexe0@users.noreply.github.com> Date: Mon, 26 Apr 2021 19:39:54 -0700 Subject: [PATCH] Fix bug in Makefile which makes x86_64 binaries have Intel32bit instead of Intel64bit in file name --- Makefile.mingw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.mingw b/Makefile.mingw index 5853b3a..0bed85b 100644 --- a/Makefile.mingw +++ b/Makefile.mingw @@ -17,13 +17,13 @@ ifndef PROG # Setup compilers ifeq ($(x86), y) TOOL_PREFIX := i686-w64-mingw32- -ARCH :== Intel64bit +ARCH := Intel32bit else TOOL_PREFIX := x86_64-w64-mingw32- endif CPP := ${TOOL_PREFIX}g++ CC := ${TOOL_PREFIX}gcc -ARCH := Intel32bit +ARCH :== Intel64bit WINDRES := ${TOOL_PREFIX}windres ifeq ($(ARM64), y) CPP := aarch64-w64-mingw32-g++