From 5faf7666ecbee92242ee3d4dfab8c24c2c8eccd3 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 15 Mar 2011 22:47:20 +0000 Subject: [PATCH] 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. --- build/mingw/mingw-fetch-dependencies.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/mingw/mingw-fetch-dependencies.sh b/build/mingw/mingw-fetch-dependencies.sh index d1b4d3c..0e81de2 100755 --- a/build/mingw/mingw-fetch-dependencies.sh +++ b/build/mingw/mingw-fetch-dependencies.sh @@ -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" <