Skip to content

Commit

Permalink
fix compiler for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
fredboudon committed Jan 23, 2024
1 parent b5ac564 commit 357592f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions conda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ then
export QMAKESPEC=linux-g++
mv pyproject-linux.toml pyproject.toml

ln -s ${GXX} g++ || true
ln -s ${GCC} gcc || true
ln -s ${USED_BUILD_PREFIX}/bin/${HOST}-gcc-ar gcc-ar || true

export LD=${GXX}
export CC=${GCC}
export CXX=${GXX}
export PKG_CONFIG_EXECUTABLE=$(basename $(which pkg-config))

export PATH=${PWD}:${PATH}
export SYSROOT="${CONDA_BUILD_SYSROOT}"
fi
Expand Down

0 comments on commit 357592f

Please sign in to comment.