Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-04-09 10:15:43 +0400
committerChristopher Faylor <me@cgf.cx>2000-04-09 10:15:43 +0400
commit7f363152c55e839596c262b491b747e4d24b0b62 (patch)
treed522c7cd364ea963d34f00bae5807dac51b1952d /winsup/Makefile.common
parentd5337b4c1301ee68aa243ffbb0acc1ba25686d33 (diff)
* Makefile.in: Work around MAKEOVERRIDES problem with older versions of make.
* Makefile.common: Ditto.
Diffstat (limited to 'winsup/Makefile.common')
-rw-r--r--winsup/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/winsup/Makefile.common b/winsup/Makefile.common
index c6143426a..661a4d77e 100644
--- a/winsup/Makefile.common
+++ b/winsup/Makefile.common
@@ -88,7 +88,13 @@ COMPILE_CC:=$(CC) $c -nostdinc $(ALL_CFLAGS) -I$(GCC_INCLUDE)
vpath %.a $(cygwin_build):$(w32api_lib):$(newlib_build)/libc:$(newlib_build)/libm
-unexport MAKEOVERRIDES
+MAKEOVERRIDES_WORKAROUND=${wordlist 2,1,a b c}
+
+ifneq ($(MAKEOVERRIDES_WORKAROUND),)
+ override MAKE:=$(MAKE) $(MAKEOVERRIDES)
+ MAKEOVERRIDES:=
+ export MAKEOVERRIDES
+endif
.PRECIOUS: %.o