win32: remove deprecated -mno-cygwin options from env.sh

This removes the use of -mno-cygwin from our generated env.sh for cross
compiling with mingw.

I don't know that anyone is building clutter under cygwin, and our
BuildingClutterOnWindows wiki page only describes building with msys not
cygwin so I think its fair to assume that this build configuration is
untested and thus not supported by us currently. Since the -mno-cygwin
option is deprecated it could well be that there is a better
cross-compilation solution available for cygwin these days if you want
to build programs that don't depend on cygwin libraries.
This commit is contained in:
Robert Bragg 2011-03-15 22:47:20 +00:00
parent 861bda91d5
commit 5faf7666ec

View File

@ -325,8 +325,7 @@ find_compiler;
add_env PKG_CONFIG_PATH "$ROOT_DIR/lib/pkgconfig:\$PKG_CONFIG_PATH"; add_env PKG_CONFIG_PATH "$ROOT_DIR/lib/pkgconfig:\$PKG_CONFIG_PATH";
add_env LDFLAGS "-mno-cygwin \$LDFLAGS" add_env CFLAGS "-mms-bitfields \$CFLAGS"
add_env CFLAGS "-mno-cygwin -mms-bitfields \$CFLAGS"
cat >> "$env_file" <<EOF cat >> "$env_file" <<EOF
export ROOT_DIR="$ROOT_DIR"; export ROOT_DIR="$ROOT_DIR";