mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-25 20:22:18 +03:00
Toolchain: Fix building the aarch64 toolchain
The `aarch64/t-aarch64` makefile fragment needs to be included for the
aarch64-specific parts of GCC to be built. Before 738e52da5
, this was
done implicitly, but now it is not. This caused the following error when
building the toolchain: "aarch64-builtins.o: No such file or directory".
This commit is contained in:
parent
0eb3718556
commit
84c6d6649e
Notes:
sideshowbarker
2024-07-17 21:41:31 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/84c6d6649e3 Pull-request: https://github.com/SerenityOS/serenity/pull/11619
@ -46,7 +46,7 @@ index a75b44ee4..6fab7c3ca 100644
|
||||
+
|
||||
; This comment is to ensure we retain the blank line above.
|
||||
diff --git a/gcc/config.gcc b/gcc/config.gcc
|
||||
index 357b0bed0..151d93312 100644
|
||||
index 357b0bed0..8e96b74e5 100644
|
||||
--- a/gcc/config.gcc
|
||||
+++ b/gcc/config.gcc
|
||||
@@ -686,6 +686,13 @@ x86_cpus="generic intel"
|
||||
@ -63,7 +63,7 @@ index 357b0bed0..151d93312 100644
|
||||
*-*-darwin*)
|
||||
tmake_file="t-darwin "
|
||||
tm_file="${tm_file} darwin.h"
|
||||
@@ -1084,6 +1091,18 @@ case ${target} in
|
||||
@@ -1084,6 +1091,19 @@ case ${target} in
|
||||
esac
|
||||
|
||||
case ${target} in
|
||||
@ -78,6 +78,7 @@ index 357b0bed0..151d93312 100644
|
||||
+ ;;
|
||||
+aarch64-*-serenity*)
|
||||
+ tm_file="${tm_file} dbxelf.h elfos.h aarch64/aarch64-elf.h glibc-stdint.h serenity.h"
|
||||
+ tmake_file="${tmake_file} aarch64/t-aarch64"
|
||||
+ ;;
|
||||
aarch64*-*-elf | aarch64*-*-fuchsia* | aarch64*-*-rtems*)
|
||||
tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h"
|
||||
|
@ -46,7 +46,7 @@ index a75b44ee4..6fab7c3ca 100644
|
||||
+
|
||||
; This comment is to ensure we retain the blank line above.
|
||||
diff --git a/gcc/config.gcc b/gcc/config.gcc
|
||||
index 357b0bed0..151d93312 100644
|
||||
index 357b0bed0..8e96b74e5 100644
|
||||
--- a/gcc/config.gcc
|
||||
+++ b/gcc/config.gcc
|
||||
@@ -686,6 +686,13 @@ x86_cpus="generic intel"
|
||||
@ -63,7 +63,7 @@ index 357b0bed0..151d93312 100644
|
||||
*-*-darwin*)
|
||||
tmake_file="t-darwin "
|
||||
tm_file="${tm_file} darwin.h"
|
||||
@@ -1084,6 +1091,18 @@ case ${target} in
|
||||
@@ -1084,6 +1091,19 @@ case ${target} in
|
||||
esac
|
||||
|
||||
case ${target} in
|
||||
@ -78,6 +78,7 @@ index 357b0bed0..151d93312 100644
|
||||
+ ;;
|
||||
+aarch64-*-serenity*)
|
||||
+ tm_file="${tm_file} dbxelf.h elfos.h aarch64/aarch64-elf.h glibc-stdint.h serenity.h"
|
||||
+ tmake_file="${tmake_file} aarch64/t-aarch64"
|
||||
+ ;;
|
||||
aarch64*-*-elf | aarch64*-*-fuchsia* | aarch64*-*-rtems*)
|
||||
tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h"
|
||||
|
Loading…
Reference in New Issue
Block a user