Skip to content

Commit

Permalink
Pass CONDA_BUILD_SYSROOT and MACOSX_DEPLOYMENT_TARGET to clang
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Sep 29, 2022
1 parent f3dd278 commit 0a261aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ passenv =
LC_CTYPE
ON_TRAVIS
CONDA_BUILD_SYSROOT
MACOSX_DEPLOYMENT_TARGET
setenv =
osxclang: CC=clang-10
osxclang: CC=clang-10 -isysroot ${CONDA_BUILD_SYSROOT} -mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET}
linuxgcc: CC=x86_64-conda-linux-gnu-gcc
changedir =
.tmp/{envname}
Expand Down

0 comments on commit 0a261aa

Please sign in to comment.