* config/i386/cygwin.h (CXX_WRAP_SPEC): Disable spec when -mno-cygwin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157931
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
#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) */