From 160874611fb7c591ecace9a98ede9a0b328b0269 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 27 Jan 2017 23:59:17 +0100 Subject: [PATCH] Always export CMAKE_INSTALL_ALWAYS=1 for cmake builds --- build-package.sh | 1 + packages/clang/build.sh | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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 () {