1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-04 06:00:23 +00:00

Update Makefile to correctly set BITS when on WoA64

This commit is contained in:
Samuel Gomes 2023-03-04 11:24:44 +05:30
parent 9a48df5842
commit 097395959c

View file

@ -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