2025-07-22 13:26:20 -07:00
|
|
|
common:macos --repo_env=BAZEL_COPTS="-Wall:-Wextra:-Werror:-Wno-shorten-64-to-32:-Wno-gcc-compat"
|
|
|
|
|
common:macos --host_per_file_copt=external/.*@-Wno-deprecated-non-prototype,-Wno-unused-function,-Wno-sign-compare
|
2024-10-19 12:54:49 -04:00
|
|
|
|
|
|
|
|
# C++ only
|
2025-07-22 13:26:20 -07:00
|
|
|
common:macos --repo_env=BAZEL_CXXOPTS="-std=c++20:-pedantic:-fPIC:-Wno-unused-parameter:-Wno-error=deprecated-enum-enum-conversion:-Wno-missing-field-initializers:-Wno-unused-private-field:-Wno-unused-const-variable:-Wno-error=c11-extensions:-pthread:-Wno-deprecated-anon-enum-enum-conversion"
|
2024-10-19 12:54:49 -04:00
|
|
|
|
|
|
|
|
# C only
|
2025-07-22 13:26:20 -07:00
|
|
|
common:macos --repo_env=BAZEL_CONLYOPTS="-pedantic:-fPIC:-Wno-unused-parameter:-Wno-missing-field-initializers:-Wno-unused-private-field:-Wno-fixed-enum-extension"
|
2024-12-19 01:00:40 -05:00
|
|
|
|
2025-07-22 13:26:20 -07:00
|
|
|
common:macos --repo_env=BAZEL_LINKOPTS="-Wl,-rpath,'@loader_path'"
|
2026-01-12 14:30:31 -08:00
|
|
|
|
|
|
|
|
common:macos --host_per_file_copt=external/.*@-Wno-pedantic,-Wno-deprecated-declarations
|
|
|
|
|
common:macos --per_file_copt=external/.*@-Wno-pedantic,-Wno-deprecated-declarations
|
|
|
|
|
|
|
|
|
|
common:macos --host_per_file_copt=external/.*\.c$@-Wno-c11-extensions
|
|
|
|
|
common:macos --per_file_copt=external/.*\.c$@-Wno-c11-extensions
|