win32: remove deprecated -mno-cygwin options from env.sh
authorRobert Bragg <robert@linux.intel.com>
Tue, 15 Mar 2011 22:47:20 +0000 (22:47 +0000)
committerRobert Bragg <robert@linux.intel.com>
Wed, 16 Mar 2011 11:23:38 +0000 (11:23 +0000)
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.

build/mingw/mingw-fetch-dependencies.sh

index d1b4d3c..0e81de2 100755 (executable)
@@ -325,8 +325,7 @@ find_compiler;
 
 add_env PKG_CONFIG_PATH "$ROOT_DIR/lib/pkgconfig:\$PKG_CONFIG_PATH";
 
-add_env LDFLAGS "-mno-cygwin \$LDFLAGS"
-add_env CFLAGS "-mno-cygwin -mms-bitfields \$CFLAGS"
+add_env CFLAGS "-mms-bitfields \$CFLAGS"
 
 cat >> "$env_file" <<EOF
 export ROOT_DIR="$ROOT_DIR";