[syslinux:master] Revert "win: Add -mno-ms-bitfields"

syslinux-bot for H. Peter Anvin hpa at linux.intel.com
Mon Oct 22 13:48:02 PDT 2012


Commit-ID:  c834b8b4c6c7103e35e8b349ab6ac284dd3a7e07
Gitweb:     http://www.syslinux.org/commit/c834b8b4c6c7103e35e8b349ab6ac284dd3a7e07
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Mon, 22 Oct 2012 13:44:53 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Mon, 22 Oct 2012 13:44:53 -0700

Revert "win: Add -mno-ms-bitfields"

This reverts commit 7d9ee65cc9577eb69782a49a34895ae80820e9ff.

I am concerned that this may cause the Windows ABI header files to be
misinterpreted.

Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>

---
 win32/Makefile |    7 +++----
 win64/Makefile |    4 ++--
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/win32/Makefile b/win32/Makefile
index ef5edac..f960998 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -22,8 +22,7 @@ OSTYPE   = $(shell uname -msr)
 ifeq ($(findstring CYGWIN,$(OSTYPE)),CYGWIN)
 ## Compiling on Cygwin
 WINPREFIX  :=
-WINCFLAGS  := -mno-cygwin -mno-ms-bitfields $(GCCWARN) -Os \
-	      -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
+WINCFLAGS  := -mno-cygwin $(GCCWARN) -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
 WINLDFLAGS := -mno-cygwin -Os -s
 else
 ## Compiling on some variant of MinGW
@@ -32,8 +31,8 @@ WINPREFIX  :=
 else
 WINPREFIX  := $(shell ./find-mingw32.sh gcc)
 endif
-WINCFLAGS  := -mno-ms-bitfields $(GCCWARN) -Wno-sign-compare -Os \
-	      -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
+WINCFLAGS  := $(GCCWARN) -Wno-sign-compare -Os -fomit-frame-pointer \
+	      -D_FILE_OFFSET_BITS=64
 WINLDFLAGS := -Os -s
 endif
 WINCFLAGS += -I. -I../win -I.. -I../libfat -I../libinstaller \
diff --git a/win64/Makefile b/win64/Makefile
index 744b0b3..fe60793 100644
--- a/win64/Makefile
+++ b/win64/Makefile
@@ -21,8 +21,8 @@
 OSTYPE   = $(shell uname -msr)
 # Don't know how to do a native compile here...
 WINPREFIX  := $(shell ./find-mingw64.sh gcc)
-WINCFLAGS  := -mno-ms-bitfields $(GCCWARN) -Wno-sign-compare -Os \
-	      -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
+WINCFLAGS  := $(GCCWARN) -Wno-sign-compare -Os -fomit-frame-pointer \
+	      -D_FILE_OFFSET_BITS=64
 WINLDFLAGS := -Os -s
 
 WINCFLAGS += -I. -I../win -I.. -I../libfat -I../libinstaller \


More information about the Syslinux-commits mailing list