build-style/cmake: set PATH in environment
This commit is contained in:
parent
4d14533224
commit
1f2932447a
2 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,6 @@ _EOF
|
||||||
cmake_args+=" -DCMAKE_INSTALL_SBINDIR=bin"
|
cmake_args+=" -DCMAKE_INSTALL_SBINDIR=bin"
|
||||||
|
|
||||||
export CMAKE_GENERATOR="${CMAKE_GENERATOR:-Ninja}"
|
export CMAKE_GENERATOR="${CMAKE_GENERATOR:-Ninja}"
|
||||||
PATH="$PATH:/usr/libexec/xbps-src/bin"
|
|
||||||
# Remove -pipe: https://gitlab.kitware.com/cmake/cmake/issues/19590
|
# Remove -pipe: https://gitlab.kitware.com/cmake/cmake/issues/19590
|
||||||
CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" \
|
CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" \
|
||||||
cmake ${cmake_args} ${configure_args} \
|
cmake ${cmake_args} ${configure_args} \
|
||||||
|
|
|
@ -8,3 +8,4 @@ if [ "$CHROOT_READY" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export CTEST_OUTPUT_ON_FAILURE=TRUE
|
export CTEST_OUTPUT_ON_FAILURE=TRUE
|
||||||
|
PATH="$PATH:/usr/libexec/xbps-src/bin"
|
||||||
|
|
Loading…
Add table
Reference in a new issue