Squash commits for public release
This commit is contained in:
24
libs/libc/BUILD.gn
Normal file
24
libs/libc/BUILD.gn
Normal file
@@ -0,0 +1,24 @@
|
||||
import("//build/libs/TEMPLATE.gni")
|
||||
import("//libs/libc/LIBC_SOURCES.gni")
|
||||
|
||||
xOS_static_library("libc") {
|
||||
sources = libc_sources
|
||||
|
||||
# Private LibC sources.
|
||||
sources += [ "init/_init.c" ]
|
||||
|
||||
if (target_arch == "arm32") {
|
||||
sources += [ "string/routines/arm32/memset.S" ]
|
||||
}
|
||||
|
||||
include_dirs = [
|
||||
"include/",
|
||||
"//libs/",
|
||||
]
|
||||
|
||||
configs = [ "//build/libs:lib_flags" ]
|
||||
|
||||
if (host == "llvm") {
|
||||
cflags = [ "-flto" ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user