Commit 043e7f53 authored by Diego Biurrun's avatar Diego Biurrun

build: Add -mwin32 to CFLAGS on Cygwin instead of globally defining WIN32

It's better to have gcc enable all Windows-related flags and adjust its
behavior in a predictable fashion, rather than do parts of it manually.
parent 5e6047bd
......@@ -56,7 +56,7 @@ case x"${host_os}" in
CFLAGS="${CFLAGS} -no-cpp-precomp"
;;
x*cygwin*)
AC_DEFINE(WIN32, 1, Using Win32.)
CFLAGS="${CFLAGS} -mwin32"
;;
xos2*)
LDFLAGS="-Zbin-files"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment