From 97868f338a02ad5acd8049f0ba0474d330e11877 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 24 Jan 2026 15:31:17 +0100 Subject: feat: More runtime improvements for Nectar and NeKernel C++ Runtime. Signed-off-by: Amlal El Mahrouss --- src/CompilerKit/ck-posix.json | 2 +- src/CompilerKit/src/Linkers/DynamicLinker64+MachO.cc | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/CompilerKit') 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 #include #include @@ -695,3 +697,5 @@ NECTAR_MODULE(DynamicLinker64MachO) { } // Last rev - 2026 + +#endif // ifndef __linux__ -- cgit v1.2.3