Skip to content

Commit 2a49830

Browse files
committed
force TARGET_CPU=darwin
1 parent ade737e commit 2a49830

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

recipe/build-core.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ if [[ "$target_platform" == osx* ]]; then
1010
else
1111
export LDFLAGS="$LDFLAGS -undefined dynamic_lookup"
1212
fi
13+
echo changing TARGET_CPU=$TARGET_CPU to 'darwin', cross compilation is still limited
14+
TARGET_CPU=darwin
1315
# https://github.com/conda-forge/bazel-toolchain-feedstock/issues/18
1416
# delete the line from the template and the CXXFLAGS
1517
export CXXFLAGS="${CXXFLAGS/-stdlib=libc++ /} -Wno-vla-cxx-extension"

0 commit comments

Comments
 (0)