mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-06 21:00:25 +00:00
Update Makefile to correctly set BITS when on WoA64
This commit is contained in:
parent
9a48df5842
commit
097395959c
6
Makefile
6
Makefile
|
@ -75,10 +75,10 @@ ifeq ($(OS),win)
|
|||
EXTENSION := .exe
|
||||
|
||||
# Check bitness by seeing which compiler we have
|
||||
ifeq ($(wildcard $(PATH_INTERNAL_C)\c_compiler\i686-w64-mingw32),)
|
||||
BITS := 64
|
||||
else
|
||||
ifeq "$(filter $(findstring aarch64,$(shell $(CC) -dumpmachine)) $(findstring x86_64,$(shell $(CC) -dumpmachine)),aarch64 x86_64)" ""
|
||||
BITS := 32
|
||||
else
|
||||
BITS := 64
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue