bazelbuild / rules_foreign_cc

Build rules for interfacing with "foreign" (non-Bazel) build systems (CMake, configure-make, GNU Make, boost, ninja, Meson)
https://bazelbuild.github.io/rules_foreign_cc
Apache License 2.0
650 stars 232 forks source link

fix macos build #1187

Closed zirain closed 2 months ago

zirain commented 3 months ago

fix: #1186

phlax commented 3 months ago

it seems to be that this is not mac/xcode-specific - i think this will also affect llvm 15+ - i didnt test this yet

zirain commented 2 months ago

people who meet this, can use following workaround:

build:macos --host_action_env=CXXFLAGS=-Wno-int-conversion
build:macos --action_env=CXXFLAGS=-Wno-int-conversion
build:macos --host_action_env=CFLAGS=-Wno-int-conversion
build:macos --action_env=CFLAGS=-Wno-int-conversion