diff --git a/build/mingw/mingw-fetch-dependencies.sh b/build/mingw/mingw-fetch-dependencies.sh index 0e81de231..276f97a26 100755 --- a/build/mingw/mingw-fetch-dependencies.sh +++ b/build/mingw/mingw-fetch-dependencies.sh @@ -184,8 +184,7 @@ function do_cross_compile () local builddir="$BUILD_DIR/$dep"; cd "$builddir" - . $ROOT_DIR/share/env.sh - ./configure --prefix="$ROOT_DIR" --host="$TARGET" --target="$TARGET" --build="`./config.guess`" + ./configure --prefix="$ROOT_DIR" --host="$TARGET" --target="$TARGET" --build="`./config.guess`" CFLAGS="-mms-bitfields" PKG_CONFIG_PATH="$ROOT_DIR/lib/pkgconfig" if [ "$?" -ne 0 ]; then echo "Failed to configure $dep"; @@ -317,37 +316,8 @@ done; # Build environment ## -env_file="$ROOT_DIR/share/env.sh"; -echo "Writing build environment script to $env_file"; -echo "#!/bin/bash" > "$env_file"; - find_compiler; -add_env PKG_CONFIG_PATH "$ROOT_DIR/lib/pkgconfig:\$PKG_CONFIG_PATH"; - -add_env CFLAGS "-mms-bitfields \$CFLAGS" - -cat >> "$env_file" <