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>2009-11-01 20:22:44 +0300
committerChristopher Faylor <me@cgf.cx>2009-11-01 20:22:44 +0300
commit8a9358d0f70c35d8cc1ecf86e12bb34a0aa90f41 (patch)
tree8d7617fbdcf2df22a4828d284ef56e3af7b4ca07 /winsup/testsuite/Makefile.in
parent0de153c586533181bccefd6c984508315a645a2b (diff)
* Makefile.in: Use utils mingw front-end to generate non-cygwin binary.
Diffstat (limited to 'winsup/testsuite/Makefile.in')
-rw-r--r--winsup/testsuite/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/winsup/testsuite/Makefile.in b/winsup/testsuite/Makefile.in
index d7d151501..f47ddcb55 100644
--- a/winsup/testsuite/Makefile.in
+++ b/winsup/testsuite/Makefile.in
@@ -1,5 +1,5 @@
# Makefile.in for Cygwin's testsuite.
-# Copyright 2000, 2001, 2002, 2003, 2005, 2006 Red Hat, Inc.
+# Copyright 2000, 2001, 2002, 2003, 2005, 2006, 2009 Red Hat, Inc.
#
# This file is part of Cygwin.
#
@@ -57,6 +57,7 @@ endif
AR:=@AR@
AR_FLAGS:=qv
+MINGW_FE:=$(dir ${srcdir})/utils/mingw
#
# Include common definitions for winsup directory
@@ -169,7 +170,7 @@ check: $(TESTSUP_LIB_NAME) $(RUNTIME) cygrun.exe testsuite/site.exp
runtest --tool winsup $(RUNTESTFLAGS) ;\
cygrun.o: cygrun.c
- $(CC) $(MINGW_CFLAGS) -o $@ -c $<
+ ${MINGW_FE} $(CC) $(MINGW_CFLAGS) -o $@ -c $<
cygrun.exe : cygrun.o
- $(CC) ${MINGW_LDFLAGS} -mno-cygwin -o $@ $<
+ ${MINGW_FE} $(CC) ${MINGW_LDFLAGS} -o $@ $<