diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-29 18:36:03 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-29 18:36:03 +0000 |
commit | 5bb1df18a77ddc8bae7dd610128fec21b64a2ca0 (patch) | |
tree | d477ae2309201a4e1a5aba3598692c9db1a6ae1c /libstdc++-v3/acinclude.m4 | |
parent | 8fb9737a2b8e99ea4edd77eedcdb7dc7253fabcf (diff) | |
download | gcc-5bb1df18a77ddc8bae7dd610128fec21b64a2ca0.tar.gz |
* acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
$vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220259 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/acinclude.m4')
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 02ca3f36479..17271403afe 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -2320,15 +2320,15 @@ AC_DEFUN([GLIBCXX_ENABLE_VTABLE_VERIFY], [ AC_MSG_CHECKING([for vtable verify support]) AC_MSG_RESULT([$enable_vtable_verify]) + vtv_cygmin=no if test $enable_vtable_verify = yes; then case ${target_os} in cygwin*|mingw32*) VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end" - vtv_cygmin="yes" + vtv_cygmin=yes ;; *) VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end" - vtv_cygmin="no" ;; esac VTV_PCH_CXXFLAGS="-fvtable-verify=std" @@ -2339,11 +2339,10 @@ AC_DEFUN([GLIBCXX_ENABLE_VTABLE_VERIFY], [ VTV_CXXLINKFLAGS= fi - AM_CONDITIONAL(VTV_CYGMIN, test $vtv_cygmin = yes) - AC_SUBST(VTV_CXXFLAGS) AC_SUBST(VTV_PCH_CXXFLAGS) AC_SUBST(VTV_CXXLINKFLAGS) + AM_CONDITIONAL(VTV_CYGMIN, test x$vtv_cygmin = xyes) GLIBCXX_CONDITIONAL(ENABLE_VTABLE_VERIFY, test $enable_vtable_verify = yes) ]) |