re PR target/42609 (undesired operation when working with mno-cygwin)

PR target/42609
	* config/i386/cygwin.h (CXX_WRAP_SPEC): Disable spec when -mno-cygwin.

From-SVN: r157931
This commit is contained in:
Dave Korn 2010-04-01 20:24:35 +00:00 committed by Dave Korn
parent 2f43d500a6
commit abfb38d739
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
PR target/42609
* config/i386/cygwin.h (CXX_WRAP_SPEC): Disable spec when -mno-cygwin.
2010-04-01 Jakub Jelinek <jakub@redhat.com>
* dwarf2out.c (output_compilation_unit_header): For

View File

@ -108,7 +108,7 @@ along with GCC; see the file COPYING3. If not see
#define CXX_WRAP_SPEC_OPT "muse-libstdc-wrappers"
#endif
#define CXX_WRAP_SPEC "%{" CXX_WRAP_SPEC_OPT ":" CXX_WRAP_SPEC_LIST "}"
#define CXX_WRAP_SPEC "%{!mno-cygwin:%{" CXX_WRAP_SPEC_OPT ":" CXX_WRAP_SPEC_LIST "}}"
#else /* !defined (USE_CYGWIN_LIBSTDCXX_WRAPPERS) */