1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 14:37:43 +00:00
serenity/Meta/gn/secondary/Userland/Libraries/LibSystem/BUILD.gn
Andrew Kaster 4bfb146181 Meta: Add the start of a gn build based on the LLVM gn build
"based on" in this context means "largely copied from"
2023-07-09 16:22:58 -06:00

32 lines
535 B
Text

group("LibSystem") {
deps = []
if (current_os == "serenity") {
deps += [
":system_shared",
":system_static",
]
}
}
if (current_os == "serenity") {
shared_library("system_shared") {
output_name = "system"
cflags_cc = [ "-nostdlib" ]
ldflags = [
"-nostdlib",
"-static-libstdc++",
]
sources = [
"syscall.cpp",
"syscall.h",
]
}
static_library("system_static") {
output_name = "system"
sources = [
"syscall.cpp",
"syscall.h",
]
}
}