gmake 3.79.1 requires that SHELL be evaluated immediately.
authorcls%seawood.org
Sun, 21 Jan 2001 23:48:08 +0000
changeset 1685 e3615a752ccc10d8d3345829ca44c4abe117ac17
parent 1682 478ad06810749ad7e6350f5b9199bebe7260758f
child 1688 9b7d73db62c9c75c2e718838f612f37053752f4b
push idunknown
push userunknown
push dateunknown
gmake 3.79.1 requires that SHELL be evaluated immediately. Thanks to Brian Ryner <bryner@uiuc.edu> for the patch.
config/OS2.mk
config/OSF1.mk
config/WIN32.mk
--- a/config/OS2.mk
+++ b/config/OS2.mk
@@ -56,17 +56,17 @@ endif
 
 ifeq ($(XP_OS2_EMX),1)
 MOZ_EMXTAG = $(subst .,,$(MOZ_OS2_EMX_OBJECTFORMAT))
 endif
 
 #
 # On OS/2 we proudly support gbash...
 #
-SHELL = GBASH.EXE
+SHELL := GBASH.EXE
 
 CC			= icc -q -DXP_OS2 -N10
 CCC			= icc -q -DXP_OS2 -DOS2=4 -N10
 LINK			= -ilink
 AR			= -ilib /noignorecase /nologo /Out:$(subst /,\\,$@)
 RANLIB 			= @echo RANLIB
 BSDECHO 		= @echo BSDECHO
 STRIP			= @echo STRIP
--- a/config/OSF1.mk
+++ b/config/OSF1.mk
@@ -35,17 +35,17 @@
 # Config stuff for DEC OSF/1
 #
 
 #
 # The Bourne shell (sh) on OSF1 doesn't handle "set -e" correctly,
 # which we use to stop LOOP_OVER_DIRS submakes as soon as any
 # submake fails.  So we use the Korn shell instead.
 #
-SHELL			= /usr/bin/ksh
+SHELL			:= /usr/bin/ksh
 
 include $(MOD_DEPTH)/config/UNIX.mk
 
 #
 # XXX
 # Temporary define for the Client; to be removed when binary release is used
 #
 ifdef MOZILLA_CLIENT
--- a/config/WIN32.mk
+++ b/config/WIN32.mk
@@ -37,17 +37,17 @@
 #
 
 #
 # Client build: make sure we use the shmsdos.exe under $(MOZ_TOOLS).
 # $(MOZ_TOOLS_FLIPPED) is $(MOZ_TOOLS) with all the backslashes
 # flipped, so that gmake won't interpret them as escape characters.
 #
 ifdef PR_CLIENT_BUILD_WINDOWS
-SHELL = $(MOZ_TOOLS_FLIPPED)/bin/shmsdos.exe
+SHELL := $(MOZ_TOOLS_FLIPPED)/bin/shmsdos.exe
 endif
 
 CC = cl
 CCC = cl
 LINK = link
 AR = lib -NOLOGO -OUT:"$@"
 RANLIB = echo
 BSDECHO = echo