Skip to content

Commit

Permalink
Fix bug in Makefile which makes x86_64 binaries have Intel32bit inste…
Browse files Browse the repository at this point in the history
…ad of Intel64bit in file name
  • Loading branch information
winexe0 authored Apr 27, 2021
1 parent 26420a7 commit 8e95692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.mingw
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down

0 comments on commit 8e95692

Please sign in to comment.