From 4284ed35a8ad5c7f5ca1b153047e4a4d3c8b11e5 Mon Sep 17 00:00:00 2001 From: takeshix Date: Mon, 12 Oct 2020 18:41:49 +0200 Subject: [PATCH] Update build_gdb.sh --- build/targets/build_gdb.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/targets/build_gdb.sh b/build/targets/build_gdb.sh index fe24699..55bf623 100755 --- a/build/targets/build_gdb.sh +++ b/build/targets/build_gdb.sh @@ -23,12 +23,14 @@ build_gdb() { CMD+="CC_FOR_BUILD=\"/x86_64-linux-musl-cross/bin/x86_64-linux-musl-gcc\" " CMD+="CPP_FOR_BUILD=\"/x86_64-linux-musl-cross/bin/x86_64-linux-musl-g++\" " fi - CMD+="./configure --target=$(get_host_triple) --host=x86_64-unknown-linux-musl " + CMD+="${BUILD_DIRECTORY}/binutils-gdb/configure --target=$(get_host_triple) --host=x86_64-unknown-linux-musl " CMD+="--disable-shared --enable-static" GDB_CMD="${CMD} --disable-interprocess-agent" cd "${BUILD_DIRECTORY}/binutils-gdb/" + mkdir build + cd build eval "$GDB_CMD" make -j4