]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/42609 (undesired operation when working with mno-cygwin)
authorDave Korn <dave.korn.cygwin@gmail.com>
Thu, 1 Apr 2010 20:24:35 +0000 (20:24 +0000)
committerDave Korn <davek@gcc.gnu.org>
Thu, 1 Apr 2010 20:24:35 +0000 (20:24 +0000)
PR target/42609
* config/i386/cygwin.h (CXX_WRAP_SPEC): Disable spec when -mno-cygwin.

From-SVN: r157931

gcc/ChangeLog
gcc/config/i386/cygwin.h

index 80c62a41288915c8d43b5863def46fdecf88d010..6bd278633e60621db193c1c9617bcc2833ad7901 100644 (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
index 0a395c64ecc2b166804d4dd60b63276d243bf525..bb43d4fb11ede2911c45d17ab529bde50a0526dd 100644 (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)  */