diff --git a/build-package.sh b/build-package.sh index bab35cfaf..87c781842 100755 --- a/build-package.sh +++ b/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. diff --git a/packages/clang/build.sh b/packages/clang/build.sh index 0aa537597..e3f5f5386 100644 --- a/packages/clang/build.sh +++ b/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 () {