summaryrefslogtreecommitdiffhomepage
path: root/src/CompilerKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-24 15:31:17 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-24 15:32:32 +0100
commit97868f338a02ad5acd8049f0ba0474d330e11877 (patch)
tree34d7642918ea47c899ea2a009384576f41dbb527 /src/CompilerKit
parent41458b7253c524db10088657c930d300fc1b09ca (diff)
feat: More runtime improvements for Nectar and NeKernel C++ Runtime.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/CompilerKit')
-rw-r--r--src/CompilerKit/ck-posix.json2
-rw-r--r--src/CompilerKit/src/Linkers/DynamicLinker64+MachO.cc4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/CompilerKit/ck-posix.json b/src/CompilerKit/ck-posix.json
index 2a006cf..4480a41 100644
--- a/src/CompilerKit/ck-posix.json
+++ b/src/CompilerKit/ck-posix.json
@@ -1,5 +1,5 @@
{
- "compiler_path": "clang++",
+ "compiler_path": "g++",
"compiler_std": "c++20",
"headers_path": [
"../../include/CompilerKit",
diff --git a/src/CompilerKit/src/Linkers/DynamicLinker64+MachO.cc b/src/CompilerKit/src/Linkers/DynamicLinker64+MachO.cc
index b8ee813..e96ed12 100644
--- a/src/CompilerKit/src/Linkers/DynamicLinker64+MachO.cc
+++ b/src/CompilerKit/src/Linkers/DynamicLinker64+MachO.cc
@@ -8,6 +8,8 @@
/// Last Rev: 2026
/// @note Outputs Mach-O executables with __TEXT and __DATA segments.
+#ifndef __linux__
+
#include <CompilerKit/AE.h>
#include <CompilerKit/CodeGenerator.h>
#include <CompilerKit/Detail/Config.h>
@@ -695,3 +697,5 @@ NECTAR_MODULE(DynamicLinker64MachO) {
}
// Last rev - 2026
+
+#endif // ifndef __linux__