Lines Matching +full:libc +full:- +full:build
3 import("//llvm/utils/gn/build/symlink_or_copy.gni")
6 # Build libc++ with definitions for operator new/delete.
9 # Build libc++ as a shared library.
12 # Build libc++ as a static library.
15 # Build filesystem as part of libc++.
18 # Build libc++experimental.a.
21 # Use compiler-rt builtins.
40 "-Wall",
41 "-Wextra",
42 "-W",
43 "-Wwrite-strings",
44 "-Wno-unused-parameter",
45 "-Wno-long-long",
46 "-Werror=return-type",
47 "-Wextra-semi",
48 "-Wno-user-defined-literals",
49 "-Wno-covered-switch-default",
52 "-std=c++23",
53 "-nostdinc++",
65 # Ignore the -MSC_VER mismatch, as we may build
70 # as we will define the iterator types; libc++
99 "/EHs-",
100 "/EHa-",
103 cflags_cc += [ "-fno-exceptions" ]
108 cflags_cc += [ "/GR-" ]
110 cflags_cc += [ "-fno-rtti" ]
239 cflags = [ "-fPIC" ]
240 ldflags = [ "-nostdlib++" ]
249 "//compiler-rt/lib/builtins",
255 configs -= [
256 "//llvm/utils/gn/build:no_exceptions",
257 "//llvm/utils/gn/build:no_rtti",
263 source = "libc++.so.0"
264 output = "$runtimes_dir/libc++.so"
270 outputs = [ "$runtimes_dir/libc++.so" ]
272 "--input",
273 rebase_path("$runtimes_dir/libc++.so.0", root_build_dir),
274 "--output",
275 rebase_path("$runtimes_dir/libc++.so", root_build_dir),
289 configs -= [ "//llvm/utils/gn/build:thin_archive" ]
293 cflags = [ "-fvisibility=hidden" ]
295 cflags_cc = [ "-fvisibility-global-new-delete=force-hidden" ]
300 "//compiler-rt/lib/builtins",
306 configs -= [
307 "//llvm/utils/gn/build:no_exceptions",
308 "//llvm/utils/gn/build:no_rtti",
334 configs -= [
335 "//llvm/utils/gn/build:no_exceptions",
336 "//llvm/utils/gn/build:no_rtti",