зеркало из https://github.com/mozilla/pjs.git
Bug 204681: fixed build failure with MKS Toolkit on Windows XP. Handle
the more general 0x pattern instead of just 00 in the output of "uname -v".
This commit is contained in:
Родитель
8020e01752
Коммит
34dac70182
|
@ -225,9 +225,8 @@ endif
|
|||
ifeq ($(OS_ARCH), Windows_NT)
|
||||
OS_ARCH = WINNT
|
||||
OS_MINOR_RELEASE := $(shell uname -v)
|
||||
ifeq ($(OS_MINOR_RELEASE),00)
|
||||
OS_MINOR_RELEASE = 0
|
||||
endif
|
||||
# strip leading 0
|
||||
OS_MINOR_RELEASE := $(patsubst 0%,%,$(OS_MINOR_RELEASE))
|
||||
OS_RELEASE := $(OS_RELEASE).$(OS_MINOR_RELEASE)
|
||||
ifndef CPU_ARCH
|
||||
CPU_ARCH := $(shell uname -m)
|
||||
|
|
Загрузка…
Ссылка в новой задаче