Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkcgen <1557255+kcgen@users.noreply.github.com>2020-08-18 18:40:26 +0300
committerPatryk Obara <dreamer.tan@gmail.com>2020-08-19 11:49:45 +0300
commitb5c80e35a8c4af064cbd614e1254389359521d7f (patch)
tree6a9689180ebe60a04b81b48be6ffec9f80de44a2
parent757a4f2a045441729378d3e5e1f1e7186d8c9d0c (diff)
Don't explicitly disable Microsoft bitfields for autotools buildsv0.75.1
Stop configure.ac from wanting to include the "-mno-ms-bitfields" flag in CFLAGS and CXXFLAGS. There simply is no need to differentiate bit-field types (-mms-bitfields vs -mno-ms-bitfields) on any platform. For example, on all supported platforms including Windows, one can build dosbox using GCC and use CFLAGS="-g" or CFLAGS="-O3" without the need to worry about bitfield formats.
-rw-r--r--configure.ac15
1 files changed, 0 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac
index d4ee1dba3..8259cb72b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -169,21 +169,6 @@ int x=10;if( __builtin_expect ((x==1),0) ) ;
#switch language back
AC_LANG_POP(C++)
-dnl test if compiler supports -mno-ms-bitfields as it is bugged
-# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
-BACKUP_CFLAGS="$CFLAGS"
-CFLAGS="-mno-ms-bitfields"
-AC_MSG_CHECKING(if compiler supports -mno-ms-bitfields)
-AC_COMPILE_IFELSE([AC_LANG_SOURCE([
-void blah(){
-;
-}
-])],[
-AC_MSG_RESULT([yes])
-CXXFLAGS="$CXXFLAGS -mno-ms-bitfields"
-],[AC_MSG_RESULT([no])])
-CFLAGS="$BACKUP_CFLAGS"
-
dnl When on macOS, enable support for Apple's Core MIDI and/or Core Audio if our compiler can #include their headers
case "$host" in
*-*-darwin*)