diff options
Diffstat (limited to 'src/CompilerKit')
| -rw-r--r-- | src/CompilerKit/ck-posix.json | 2 | ||||
| -rw-r--r-- | src/CompilerKit/src/Linkers/DynamicLinker64+MachO.cc | 4 |
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__ |
