if we're on lynx, set up GNU_MAKE and CONFIG_SHELL in FLAGS_TO_PASS to
authorMark Eichin <eichin@cygnus>
Thu, 11 Nov 1993 20:35:30 +0000 (20:35 +0000)
committerMark Eichin <eichin@cygnus>
Thu, 11 Nov 1993 20:35:30 +0000 (20:35 +0000)
override "generic" (ie. incorrect) values of "" and /usr/latest/bin/make

build-all.mk

index 2c7dc985125cd9762dfdadb690e10b0a771cdfb4..c69162232930ade97054e8763350ea9a7373b73f 100644 (file)
@@ -201,6 +201,11 @@ FLAGS_TO_PASS := \
        "RELEASE_TAG=$(RELEASE_TAG)" \
        "SHELL=$(SHELL)"
 
+# set GNU_MAKE and CONFIG_SHELL correctly in sub-builds
+ifeq ($(patsubst %-lynxos,lynxos,$(canonhost)),lynxos)
+FLAGS_TO_PASS := $(FLAGS_TO_PASS) "GNU_MAKE=$(MAKE)" "CONFIG_SHELL=/bin/bash"
+endif
+
 all-emacs:
        @echo build started at `date`
        [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR)