* Makefile.in: Use utils mingw front-end to generate non-cygwin binary.

This commit is contained in:
Christopher Faylor 2009-11-01 17:22:44 +00:00
parent 0de153c586
commit 8a9358d0f7
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2009-11-01 Christopher Faylor <me+cygwin@cgf.cx>
* Makefile.in: Use utils mingw front-end to generate non-cygwin binary.
2008-11-26 Christopher Faylor <me+cygwin@cgf.cx>
* Revert erroneous checkin.

View File

@ -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 $@ $<