From 8a9358d0f70c35d8cc1ecf86e12bb34a0aa90f41 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 1 Nov 2009 17:22:44 +0000 Subject: [PATCH] * Makefile.in: Use utils mingw front-end to generate non-cygwin binary. --- winsup/testsuite/ChangeLog | 4 ++++ winsup/testsuite/Makefile.in | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/winsup/testsuite/ChangeLog b/winsup/testsuite/ChangeLog index 87723a278..47ab35952 100644 --- a/winsup/testsuite/ChangeLog +++ b/winsup/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-11-01 Christopher Faylor + + * Makefile.in: Use utils mingw front-end to generate non-cygwin binary. + 2008-11-26 Christopher Faylor * Revert erroneous checkin. 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 $@ $< -- 2.43.5