diff --git a/common/build-style/cmake.sh b/common/build-style/cmake.sh index 6b71ea66a22..43750ad20dc 100644 --- a/common/build-style/cmake.sh +++ b/common/build-style/cmake.sh @@ -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} \ diff --git a/common/environment/build-style/cmake.sh b/common/environment/build-style/cmake.sh index d3011338436..1c5386e1c46 100644 --- a/common/environment/build-style/cmake.sh +++ b/common/environment/build-style/cmake.sh @@ -8,3 +8,4 @@ if [ "$CHROOT_READY" ]; then fi export CTEST_OUTPUT_ON_FAILURE=TRUE +PATH="$PATH:/usr/libexec/xbps-src/bin"