build-style/cmake: set PATH in environment
This commit is contained in:
parent
4d14533224
commit
1f2932447a
|
@ -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} \
|
||||
|
|
|
@ -8,3 +8,4 @@ if [ "$CHROOT_READY" ]; then
|
|||
fi
|
||||
|
||||
export CTEST_OUTPUT_ON_FAILURE=TRUE
|
||||
PATH="$PATH:/usr/libexec/xbps-src/bin"
|
||||
|
|
Loading…
Reference in New Issue