diff options
author | Zeranoe <zeranoe@gmail.com> | 2017-12-16 19:46:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-16 19:46:38 -0500 |
commit | cc317cc693eee2e216f9264fbd84f4e0af6b9070 (patch) | |
tree | f2cb33c4bd07af2d9af78fec2a8f7fe676574dc0 | |
parent | 00fafae94b1c92399c4a990844efaffa7089b930 (diff) | |
parent | 88f304c4aa3eecdd7e0c89080741f6f2be6ce3ce (diff) |
Merge pull request #2 from steazzalini/patch-1
Run configure command using relative path
-rw-r--r-- | mingw-w64-build | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mingw-w64-build b/mingw-w64-build index b311cf2..edf0f69 100644 --- a/mingw-w64-build +++ b/mingw-w64-build @@ -139,7 +139,7 @@ build_toolchain() clean_build "$bld/binutils" echo "configuring binutils" >&3 - "$src/binutils-$v_binutils/configure" --prefix="$prefix" --disable-shared \ + "../../src/binutils-$v_binutils/configure" --prefix="$prefix" --disable-shared \ --enable-static --with-sysroot="$prefix" --target="$host" \ --disable-multilib --disable-nls || error_exit echo "building binutils" >&3 @@ -149,7 +149,7 @@ build_toolchain() clean_build "$bld/mingw-w64" echo "configuring mingw-w64-headers" >&3 - "$src/mingw-w64-git/mingw-w64-headers/configure" --build="$build" \ + "../../src/mingw-w64-git/mingw-w64-headers/configure" --build="$build" \ --host="$host" --prefix="$prefix/$host" --enable-secure-api || error_exit echo "installing mingw-w64-headers" >&3 make install || error_exit @@ -158,7 +158,7 @@ build_toolchain() clean_build "$bld/gcc" echo "configuring gcc" >&3 - "$src/gcc-$v_gcc/configure" --target="$host" --disable-shared \ + "../../src/gcc-$v_gcc/configure" --target="$host" --disable-shared \ --enable-static --disable-multilib --prefix="$prefix" \ --enable-languages=c,c++ --disable-nls || error_exit echo "running 'make-gcc' for gcc" >&3 @@ -168,7 +168,7 @@ build_toolchain() clean_build "$bld/mingw-w64" echo "configuring mingw-w64-crt" >&3 - "$src/mingw-w64-git/mingw-w64-crt/configure" --build="$build" --host="$host" \ + "../../src/mingw-w64-git/mingw-w64-crt/configure" --build="$build" --host="$host" \ --prefix="$prefix/$host" --with-sysroot="$prefix/$host" echo "building mingw-w64-crt" >&3 make -j $cpus || error_exit @@ -262,4 +262,4 @@ for arch in $@; do done rm -fr "$wd/bld" "$wd/src" -exit 0
\ No newline at end of file +exit 0 |