diff options
author | Dave Korn <dave.korn.cygwin@gmail.com> | 2010-04-01 20:24:35 +0000 |
---|---|---|
committer | Dave Korn <davek@gcc.gnu.org> | 2010-04-01 20:24:35 +0000 |
commit | abfb38d73910f62fa6785c0f0d04462a5aefd142 (patch) | |
tree | b2c275944337a067afc37366796b3d20efafc796 | |
parent | 2f43d500a6769e563fb8f645e7530c2f144d7023 (diff) | |
download | gcc-abfb38d73910f62fa6785c0f0d04462a5aefd142.zip gcc-abfb38d73910f62fa6785c0f0d04462a5aefd142.tar.gz gcc-abfb38d73910f62fa6785c0f0d04462a5aefd142.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/cygwin.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 80c62a4..6bd2786 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h index 0a395c6..bb43d4f 100644 --- a/gcc/config/i386/cygwin.h +++ b/gcc/config/i386/cygwin.h @@ -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) */ |