forked from pz4kybsvg/Conception
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
849 B
26 lines
849 B
# Common options for macOS, no matter the arch (x86 or arm).
|
|
|
|
# Use C++20 by default.
|
|
build --cxxopt=-std=c++20
|
|
build --host_cxxopt=-std=c++20
|
|
|
|
# Suppress numerous "'_FORTIFY_SOURCE' macro redefined" warnings when using
|
|
# sanitizers.
|
|
build:asan --copt=-Wno-macro-redefined
|
|
build:asan_everything --copt=-Wno-macro-redefined
|
|
build:tsan --copt=-Wno-macro-redefined
|
|
build:tsan_everything --copt=-Wno-macro-redefined
|
|
build:ubsan --copt=-Wno-macro-redefined
|
|
build:ubsan_everything --copt=-Wno-macro-redefined
|
|
|
|
# https://github.com/bazelbuild/bazel/issues/14294
|
|
build --notrim_test_configuration
|
|
|
|
# Options for explicitly using Clang.
|
|
common:clang --repo_env=CC=clang
|
|
common:clang --repo_env=CXX=clang++
|
|
build:clang --action_env=CC=clang
|
|
build:clang --action_env=CXX=clang++
|
|
build:clang --host_action_env=CC=clang
|
|
build:clang --host_action_env=CXX=clang++
|