diff options
author | Christopher Faylor <me@cgf.cx> | 2009-11-01 20:22:44 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2009-11-01 20:22:44 +0300 |
commit | 8a9358d0f70c35d8cc1ecf86e12bb34a0aa90f41 (patch) | |
tree | 8d7617fbdcf2df22a4828d284ef56e3af7b4ca07 /winsup/testsuite | |
parent | 0de153c586533181bccefd6c984508315a645a2b (diff) |
* Makefile.in: Use utils mingw front-end to generate non-cygwin binary.
Diffstat (limited to 'winsup/testsuite')
-rw-r--r-- | winsup/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <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. 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 $@ $< |