mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-12 09:20:36 +00:00
Ports: Update GCC patch to match our toolchain
This commit is contained in:
parent
57f55f297b
commit
8fd7f3d9fa
Notes:
sideshowbarker
2024-07-19 10:33:09 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/8fd7f3d9fa4
1 changed files with 5 additions and 2 deletions
|
@ -137,10 +137,10 @@ index 000000000..24b29c3da
|
|||
+#define PTRDIFF_TYPE "long int"
|
||||
diff --git a/gcc/config/serenity.h b/gcc/config/serenity.h
|
||||
new file mode 100644
|
||||
index 000000000..60ebec583
|
||||
index 000000000..925c88dd6
|
||||
--- /dev/null
|
||||
+++ b/gcc/config/serenity.h
|
||||
@@ -0,0 +1,28 @@
|
||||
@@ -0,0 +1,31 @@
|
||||
+/* Useful if you wish to make target-specific GCC changes. */
|
||||
+#undef TARGET_SERENITY
|
||||
+#define TARGET_SERENITY 1
|
||||
|
@ -158,6 +158,9 @@ index 000000000..60ebec583
|
|||
+/* Files that are linked after user code. */
|
||||
+#undef ENDFILE_SPEC
|
||||
+#define ENDFILE_SPEC "crtend.o%s crtn.o%s"
|
||||
+
|
||||
+#undef LINK_SPEC
|
||||
+#define LINK_SPEC "%{shared:-shared} %{static:-static} %{!shared: %{!static: %{rdynamic:-export-dynamic}}}"
|
||||
+
|
||||
+/* Additional predefined macros. */
|
||||
+#undef TARGET_OS_CPP_BUILTINS
|
||||
|
|
Loading…
Reference in a new issue