diff options
author | Linus Groh <mail@linusgroh.de> | 2022-03-27 12:47:35 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-27 18:54:56 +0200 |
commit | 4727b5bd4d94fc7c295bcf4d8635e6f3605c2306 (patch) | |
tree | 65606f1be91edad932b2e61b231e074415cbb482 /Meta | |
parent | f421addc50d43ea065a6a5f6e648e179b52e4f13 (diff) | |
download | serenity-4727b5bd4d94fc7c295bcf4d8635e6f3605c2306.zip |
Meta: Fix path to GCC's addr2line in serenity.sh
I'm not sure when this changed, but the path is wildly different now.
Diffstat (limited to 'Meta')
-rwxr-xr-x | Meta/serenity.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Meta/serenity.sh b/Meta/serenity.sh index 41317b7063..84d73a4559 100755 --- a/Meta/serenity.sh +++ b/Meta/serenity.sh @@ -410,7 +410,7 @@ if [[ "$CMD" =~ ^(build|install|image|copy-src|run|gdb|test|rebuild|recreate|kad if [ "$TOOLCHAIN_TYPE" = "Clang" ]; then ADDR2LINE="$TOOLCHAIN_DIR/bin/llvm-addr2line" else - ADDR2LINE="$TOOLCHAIN_DIR/binutils/binutils/addr2line" + ADDR2LINE="$TOOLCHAIN_DIR/bin/$TARGET-pc-serenity-addr2line" fi "$ADDR2LINE" -e "$BUILD_DIR/Kernel/Kernel" "$@" ;; @@ -425,7 +425,7 @@ if [[ "$CMD" =~ ^(build|install|image|copy-src|run|gdb|test|rebuild|recreate|kad elif [ "$TOOLCHAIN_TYPE" = "Clang" ]; then ADDR2LINE="$TOOLCHAIN_DIR/bin/llvm-addr2line" else - ADDR2LINE="$TOOLCHAIN_DIR/binutils/binutils/addr2line" + ADDR2LINE="$TOOLCHAIN_DIR/bin/$TARGET-pc-serenity-addr2line" fi if [ -x "$BINARY_FILE_PATH" ]; then "$ADDR2LINE" -e "$BINARY_FILE_PATH" "$@" |