mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
win32: Strip unneeded flags from env.sh
This remove CXXFLAGS since we don't have any c++ code in Clutter and also removes the redundant -L$ROOT_DIR/lib from LDFLAGS and -I$ROOT_DIR/include from CPPFLAGS and CFLAGS. (These should get added by pkg-config)
This commit is contained in:
parent
6340f3a24b
commit
861bda91d5
@ -325,10 +325,8 @@ find_compiler;
|
||||
|
||||
add_env PKG_CONFIG_PATH "$ROOT_DIR/lib/pkgconfig:\$PKG_CONFIG_PATH";
|
||||
|
||||
add_env LDFLAGS "-L$ROOT_DIR/lib -mno-cygwin \$LDFLAGS"
|
||||
add_env CPPFLAGS "-I$ROOT_DIR/include \$CPPFLAGS"
|
||||
add_env CFLAGS "-I$ROOT_DIR/include -mno-cygwin -mms-bitfields -march=i686 \${CFLAGS:-"-g"}"
|
||||
add_env CXXFLAGS "-I$ROOT_DIR/include -mno-cygwin -mms-bitfields -march=i686 \${CFLAGS:-"-g"}"
|
||||
add_env LDFLAGS "-mno-cygwin \$LDFLAGS"
|
||||
add_env CFLAGS "-mno-cygwin -mms-bitfields \$CFLAGS"
|
||||
|
||||
cat >> "$env_file" <<EOF
|
||||
export ROOT_DIR="$ROOT_DIR";
|
||||
|
Loading…
Reference in New Issue
Block a user