Avoid forking a process for every directory for every pass of the build for a value that is never used.

This commit is contained in:
slamm%netscape.com 2000-03-02 02:11:34 +00:00
Родитель 31bb7ef286
Коммит 070afa8f25
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -131,11 +131,11 @@ endif
# platform to be built in the same tree.
#
ifneq (,$(filter FreeBSD HP-UX IRIX Linux NetBSD OpenBSD OSF1 SunOS,$(OS_ARCH)))
OS_VERS := $(suffix $(OS_RELEASE))
OS_RELEASE := $(basename $(OS_RELEASE))
# Allow the user to ignore the OS_VERSION, which is usually irrelevant.
ifndef MOZILLA_CONFIG_IGNORE_OS_VERSION
ifdef WANT_MOZILLA_CONFIG_OS_VERSION
OS_VERS := $(suffix $(OS_RELEASE))
OS_VERSION := $(shell echo $(OS_VERS) | sed 's/-.*//')
endif