This commit is contained in:
2025-06-04 00:18:32 +03:00
parent 804711f2c4
commit 5d85ebd85f
17 changed files with 108 additions and 7 deletions

16
fpc/library/target.cpp Normal file
View File

@@ -0,0 +1,16 @@
#include "target.h"
#include <god/build.h>
Target_t Target_t::DefaultTarget()
{
return {
.kernel = TARGET_KERNEL_LINUX,
#ifdef __x86_64__
.cpu = TARGET_CPU_AMD64,
#endif
#ifdef __x86__
.cpu = TARGET_CPU_I386,
#endif
.optimization = TARGET_DEBUG,
};
}