mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 03:25:13 +00:00
Toolchain: Add a gcc patch to fix linker error on M1 host
This commit is contained in:
parent
e6d28a9dd4
commit
11bcde0bbd
Notes:
sideshowbarker
2024-07-17 16:23:12 +09:00
Author: https://github.com/jamesmintram Commit: https://github.com/SerenityOS/serenity/commit/11bcde0bbd Pull-request: https://github.com/SerenityOS/serenity/pull/13390 Reviewed-by: https://github.com/BertalanD Reviewed-by: https://github.com/bgianfo ✅
1 changed files with 13 additions and 0 deletions
|
@ -6399,3 +6399,16 @@ index ff44d5ae0..2ca1a4262 100644
|
|||
arm*-*-symbianelf*)
|
||||
# This is a freestanding configuration; there is nothing to do here.
|
||||
;;
|
||||
diff -ru a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
|
||||
--- a/gcc/config/aarch64/aarch64.h 2021-04-08 13:56:28.000000000 +0200
|
||||
+++ b/gcc/config/aarch64/aarch64.h 2021-04-20 22:41:03.000000000 +0200
|
||||
@@ -1200,7 +1200,7 @@
|
||||
#define MCPU_TO_MARCH_SPEC_FUNCTIONS \
|
||||
{ "rewrite_mcpu", aarch64_rewrite_mcpu },
|
||||
|
||||
-#if defined(__aarch64__)
|
||||
+#if defined(__aarch64__) && ! defined(__APPLE__)
|
||||
extern const char *host_detect_local_cpu (int argc, const char **argv);
|
||||
#define HAVE_LOCAL_CPU_DETECT
|
||||
# define EXTRA_SPEC_FUNCTION
|
||||
|
Loading…
Add table
Reference in a new issue