aboutsummaryrefslogtreecommitdiff
path: root/toolchains/cc/mac_clang/BUILD.bazel
blob: 34f4e5e22e427e0a53088874535ea57883e507ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
load(":features.bzl", "cc_features")

package(default_visibility = ["//visibility:public"])

cc_features(
    name = "x64_features",
    compile_flags = [
        "--target=x86_64-apple-darwin-macho",
        "-no-canonical-prefixes",
        "-Wno-builtin-macro-redefined",
        "-D__DATE__=\"redacted\"",
        "-D__TIMESTAMP__=\"redacted\"",
        "-D__TIME__=\"redacted\"",
    ],
    link_flags = [
        "--target=x86_64-apple-darwin-macho",
        "-undefined dynamic_lookup",
        "-fuse-ld=lld",
    ],
)