build-style/cmake: set PATH in environment

This commit is contained in:
Đoàn Trần Công Danh 2023-08-21 08:50:58 +07:00
parent 4d14533224
commit 1f2932447a
2 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,6 @@ _EOF
cmake_args+=" -DCMAKE_INSTALL_SBINDIR=bin"
export CMAKE_GENERATOR="${CMAKE_GENERATOR:-Ninja}"
PATH="$PATH:/usr/libexec/xbps-src/bin"
# Remove -pipe: https://gitlab.kitware.com/cmake/cmake/issues/19590
CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" \
cmake ${cmake_args} ${configure_args} \

View File

@ -8,3 +8,4 @@ if [ "$CHROOT_READY" ]; then
fi
export CTEST_OUTPUT_ON_FAILURE=TRUE
PATH="$PATH:/usr/libexec/xbps-src/bin"