From be102d1c1391529dbebb253b66503836353f596f Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sat, 18 Mar 2006 17:36:41 +0000 Subject: [PATCH] Remove -mms-bitfields compiler option on windows, since all qt releases that we support with the gcc toolchain on windows are compiled without it. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13419 a592a061-630c-0410-9148-cb99ea01b6c8 --- config/cygwin.m4 | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/config/cygwin.m4 b/config/cygwin.m4 index 84e39ab460..9db86cf489 100644 --- a/config/cygwin.m4 +++ b/config/cygwin.m4 @@ -5,35 +5,6 @@ AC_DEFUN([CHECK_WITH_CYGWIN], [ case $host_os in cygwin* | mingw* | pw32* ) - if test "$GCC" = yes; then - # Ensure MSVC-compatible struct packing convention. - # Depends on GCC version. gcc2 uses -fnative-struct while - # gcc3 uses -mms-bitfields. - # - msnative_struct='' - AC_MSG_CHECKING([how to get MSVC-compatible struct packing]) - case `$CC --version | sed -e 's,\..*,.,' -e q` in - 2.) - if $CC -v --help 2>/dev/null | grep fnative-struct > /dev/null; then - msnative_struct='-fnative-struct' - fi - ;; - *) - if $CC -v --help 2>/dev/null | grep ms-bitfields > /dev/null; then - msnative_struct='-mms-bitfields' - fi - ;; - esac - - if test x"$msnative_struct" = x; then - AC_MSG_RESULT([no way]) - AC_MSG_WARN([produced libraries might be incompatible with MSVC libs]) - else - CXXFLAGS="$CXXFLAGS $msnative_struct" - AC_MSG_RESULT([${msnative_struct}]) - fi - fi - # Export all symbols to Win32 DLL using MinGW 2.0 ld. WIN32_LD_EXPORT_ALL_SYMBOLS='' AC_MSG_CHECKING([whether ld accepts --export-all-symbols])