Browse Source

Always export CMAKE_INSTALL_ALWAYS=1 for cmake builds

android-5
Fredrik Fornwall 8 years ago
parent
commit
160874611f
  1. 1
      build-package.sh
  2. 2
      packages/clang/build.sh

1
build-package.sh

@ -97,6 +97,7 @@ termux_setup_cmake() {
$TERMUX_CMAKE_FOLDER
fi
export PATH=$TERMUX_CMAKE_FOLDER/bin:$PATH
export CMAKE_INSTALL_ALWAYS=1
}
# First step is to handle command-line arguments. Not to be overridden by packages.

2
packages/clang/build.sh

@ -38,8 +38,6 @@ termux_step_post_extract_package () {
tar -xf $TERMUX_PKG_CACHEDIR/$CLANG_SRC_TAR -C tools
mv tools/cfe-${TERMUX_PKG_VERSION}.src tools/clang
export CMAKE_INSTALL_ALWAYS=1
}
termux_step_host_build () {

Loading…
Cancel
Save