[vlc-commits] Do not use -fvtable-thunks, the compiler does not support it anymore

Rémi Denis-Courmont git at videolan.org
Thu Aug 18 20:30:39 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 18 21:22:24 2011 +0300| [4dd6cf747daad309d54a94f85cf62f02374d4d39] | committer: Rémi Denis-Courmont

Do not use -fvtable-thunks, the compiler does not support it anymore

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4dd6cf747daad309d54a94f85cf62f02374d4d39
---

 configure.ac |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2f33b34..fbac387 100644
--- a/configure.ac
+++ b/configure.ac
@@ -543,22 +543,6 @@ if test "${SYS}" = "mingw32" ; then
     CFLAGS="${CFLAGS_save}"; CXXFLAGS="${CXXFLAGS_save}"
 fi
 
-dnl Check for fvtable-thunks support for mingw32
-if test "${SYS}" = "mingw32" -a "${CXX}" != "" ; then
-    AC_LANG_PUSH(C++)
-    AC_CACHE_CHECK([if \$CXX accepts -fvtable-thunks],
-        [ac_cv_cxx_fvtable_thunks],
-        [CXXFLAGS="${CXXFLAGS_save} -Wall -Werror -fvtable-thunks"
-         AC_TRY_COMPILE([],,ac_cv_cxx_fvtable_thunks=yes,
-                        ac_cv_cxx_fvtable_thunks=no)])
-    if test "${ac_cv_cxx_fvtable_thunks}" = "yes"; then
-        CXXFLAGS_mingw32_special="-fvtable-thunks"
-    fi
-
-    CXXFLAGS_save="${CXXFLAGS_save} ${CXXFLAGS_mingw32_special}"; CXXFLAGS="${CXXFLAGS_save}"
-    AC_LANG_POP(C++)
-fi
-
 dnl
 dnl Buggy glibc prevention. Purposedly not cached.
 dnl See sourceware.org bugs 5058 and 5443.



More information about the vlc-commits mailing list