Compare commits
No commits in common. "3c4836497a50f4eecf49303f72f2595cfe76ff35" and "3b874c6e6aa0b80783fc9d712c31bc837326337c" have entirely different histories.
3c4836497a
...
3b874c6e6a
5
deps/buildcore/base.mk
vendored
5
deps/buildcore/base.mk
vendored
@ -10,9 +10,10 @@ ifeq (${OS},Windows_NT)
|
||||
SHELL := powershell.exe
|
||||
.SHELLFLAGS := -NoProfile -Command
|
||||
BC_VAR_OS=windows
|
||||
BC_CMD_HOST_PY3=python
|
||||
else
|
||||
BC_VAR_OS=$(shell uname | tr [:upper:] [:lower:])
|
||||
endif
|
||||
|
||||
ifneq ($(shell which python3 2> /dev/null),)
|
||||
BC_CMD_HOST_PY3=python3
|
||||
else
|
||||
@ -23,8 +24,6 @@ else
|
||||
exit 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
ifdef BC_VAR_USE_DOCKER_DEVENV
|
||||
ifneq ($(shell which docker 2> /dev/null),)
|
||||
|
2
deps/buildcore/scripts/setup-build.py
vendored
2
deps/buildcore/scripts/setup-build.py
vendored
@ -96,7 +96,7 @@ def main() -> int:
|
||||
cmake_cmd.append(build_tool)
|
||||
if qt_path != '':
|
||||
cmake_cmd.append(qt_path)
|
||||
if platform.system() == 'Windows' and platform.system() == 'AMD64':
|
||||
if platform.system() == 'Windows':
|
||||
cmake_cmd.append('-A x64')
|
||||
|
||||
cmake_err = subprocess.run(cmake_cmd).returncode
|
||||
|
4
deps/buildcore/scripts/util.py
vendored
4
deps/buildcore/scripts/util.py
vendored
@ -32,7 +32,7 @@ def get_os() -> str:
|
||||
|
||||
|
||||
def get_arch() -> str:
|
||||
arch = platform.machine().lower()
|
||||
if arch == 'amd64':
|
||||
arch = platform.machine()
|
||||
if arch.lower() == 'amd64':
|
||||
arch = 'x86_64'
|
||||
return arch
|
||||
|
4
deps/ox/src/ox/std/hardware.hpp
vendored
4
deps/ox/src/ox/std/hardware.hpp
vendored
@ -12,9 +12,9 @@
|
||||
#define OX_ARCH_x86_64
|
||||
#elif defined(__i386__) || defined(_M_IX86)
|
||||
#define OX_ARCH_x86_32
|
||||
#elif defined(__arm64__) || defined(__aarch64__) || defined(_M_ARM64)
|
||||
#elif defined(__arm64__) || defined(__aarch64__)
|
||||
#define OX_ARCH_ARM64
|
||||
#elif defined(__arm__) || defined(_M_ARM)
|
||||
#elif defined(__arm__)
|
||||
#define OX_ARCH_ARM
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user