mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
Toolchain: Fix the gdb build for aarch64 target on macOS host
This commit is contained in:
parent
db8942178a
commit
81b6386c87
Notes:
sideshowbarker
2024-07-17 22:01:16 +09:00
Author: https://github.com/jamesmintram Commit: https://github.com/SerenityOS/serenity/commit/81b6386c87 Pull-request: https://github.com/SerenityOS/serenity/pull/13393 Reviewed-by: https://github.com/linusg
@ -308,12 +308,31 @@ pushd "$DIR/Build/$ARCH"
|
||||
|
||||
pushd gdb
|
||||
echo "XXX configure gdb"
|
||||
buildstep "gdb/configure" "$DIR"/Tarballs/$GDB_NAME/configure --prefix="$PREFIX" \
|
||||
--target="$TARGET" \
|
||||
--with-sysroot="$SYSROOT" \
|
||||
--enable-shared \
|
||||
--disable-nls \
|
||||
${TRY_USE_LOCAL_TOOLCHAIN:+"--quiet"} || exit 1
|
||||
|
||||
|
||||
if [ "$SYSTEM_NAME" = "Darwin" ]; then
|
||||
buildstep "gdb/configure" "$DIR"/Tarballs/$GDB_NAME/configure --prefix="$PREFIX" \
|
||||
--target="$TARGET" \
|
||||
--with-sysroot="$SYSROOT" \
|
||||
--enable-shared \
|
||||
--disable-werror \
|
||||
--with-libgmp-prefix="$(brew --prefix gmp)" \
|
||||
--with-gmp="$(brew --prefix gmp)" \
|
||||
--with-isl="$(brew --prefix isl)" \
|
||||
--with-mpc="$(brew --prefix libmpc)" \
|
||||
--with-mpfr="$(brew --prefix mpfr)" \
|
||||
--disable-nls \
|
||||
${TRY_USE_LOCAL_TOOLCHAIN:+"--quiet"} || exit 1
|
||||
else
|
||||
buildstep "gdb/configure" "$DIR"/Tarballs/$GDB_NAME/configure --prefix="$PREFIX" \
|
||||
--target="$TARGET" \
|
||||
--with-sysroot="$SYSROOT" \
|
||||
--enable-shared \
|
||||
--disable-nls \
|
||||
${TRY_USE_LOCAL_TOOLCHAIN:+"--quiet"} || exit 1
|
||||
fi
|
||||
|
||||
|
||||
echo "XXX build gdb"
|
||||
buildstep "gdb/build" "$MAKE" -j "$MAKEJOBS" || exit 1
|
||||
buildstep "gdb/install" "$MAKE" install || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user