Skip to content

Commit 79f4ab4

Browse files
committed
use full path to compiler on macOS
1 parent 3874bd0 commit 79f4ab4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

recipe/build-core.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ if [[ "$target_platform" == osx* ]]; then
1313
# https://github.com/conda-forge/bazel-toolchain-feedstock/issues/18
1414
# delete the line from the template and the CXXFLAGS
1515
export CXXFLAGS="${CXXFLAGS/-stdlib=libc++ /} -Wno-vla-cxx-extension"
16+
# Exchange the short exe name for the full path, used in
17+
# # bazel_toolchain/cc_wrapper.sh
18+
export CLANG=$CC_FOR_BUILD
1619
sed -i"''" -e'/stdlib=libc/d' $CONDA_PREFIX/share/bazel_toolchain/CROSSTOOL.template
1720
source gen-bazel-toolchain
1821
cat >> .bazelrc <<EOF

0 commit comments

Comments
 (0)