xref: /openbsd-src/gnu/llvm/llvm/utils/gn/build/libs/atomic/BUILD.gn (revision 09467b48e8bc8b4905716062da846024139afbf2)
1config("atomic_config") {
2  visibility = [ ":atomic" ]
3  libs = [ "atomic" ]
4}
5
6group("atomic") {
7  # Needed on platforms that have no native support for 64-bit atomics.
8  # FIXME: Check which platforms need this; certainly needs to be false on
9  # macOS and Windows, and doesn't seem to be needed on Linux either.
10  needs_explicit_lib_atomic = false
11  if (needs_explicit_lib_atomic) {
12    public_configs = [ ":atomic_config" ]
13  }
14}
15