mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 20:37:35 +00:00
Ports: Add a bdwgc (aka libgc) port
For all your ports' garbage collection needs :^)
This commit is contained in:
parent
5d51e26caf
commit
ce9f355b12
9 changed files with 568 additions and 0 deletions
25
Ports/bdwgc/patches/0002-Error-on-unknown-arch.patch
Normal file
25
Ports/bdwgc/patches/0002-Error-on-unknown-arch.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
From 044ec10fa839e67da2adb0990a60d5a02de205a8 Mon Sep 17 00:00:00 2001
|
||||
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
|
||||
Date: Thu, 24 Feb 2022 01:50:40 +0330
|
||||
Subject: [PATCH 2/6] Error on unknown arch
|
||||
|
||||
---
|
||||
include/private/gcconfig.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
|
||||
index e9d1d42..8e48b66 100644
|
||||
--- a/include/private/gcconfig.h
|
||||
+++ b/include/private/gcconfig.h
|
||||
@@ -358,6 +358,8 @@ EXTERN_C_BEGIN
|
||||
# define I386
|
||||
# elif defined(__x86_64__)
|
||||
# define X86_64
|
||||
+# else
|
||||
+# error "Invalid arch for serenity"
|
||||
# endif
|
||||
#endif
|
||||
# if defined(__HAIKU__) && (defined(__amd64__) || defined(__x86_64__))
|
||||
--
|
||||
2.35.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue