Skip to content

Commit

Permalink
add another variant for build_arch
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Aug 12, 2023
1 parent e351652 commit d0f8cf5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ PLATFORM ?= linux

ifeq ($(OS),Windows_NT)
SHELL_ENV ?= cmd
build_arch:="$(shell echo %PROCESSOR_ARCHITECTURE%)"
ifeq ($(SHELL_ENV),cmd)
build_arch:="$(shell echo %PROCESSOR_ARCHITECTURE%)"
else
build_arch:="$(shell cmd /k echo %PROCESSOR_ARCHITECTURE%)"
endif
else
SHELL_ENV ?= bash
build_arch:="$(shell arch)"
Expand Down

0 comments on commit d0f8cf5

Please sign in to comment.