mirror of
https://github.com/brl/mutter.git
synced 2024-12-12 06:10:17 +00:00
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:
parent
861bda91d5
commit
5faf7666ec
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user