From e96b6d73e0842e559810e780f20e49267ebb686e Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 19 Apr 2016 17:07:59 +0100 Subject: [PATCH] boost: delete the build directory before rebuilding If there is an existing build directory when do enter do_compile() then delete it, as it contains the previous build. If the rebuild was caused because dependencies have changed we want to ensure that a rebuild actually happens. Signed-off-by: Ross Burton --- meta/recipes-support/boost/boost.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc index 982446c068..92c7bcb215 100644 --- a/meta/recipes-support/boost/boost.inc +++ b/meta/recipes-support/boost/boost.inc @@ -169,6 +169,7 @@ addtask do_boostconfig after do_patch before do_configure do_compile() { set -ex + rm -rf ${S}/${TARGET_SYS} bjam ${BJAM_OPTS} --prefix=${prefix} \ --exec-prefix=${exec_prefix} \ --libdir=${libdir} \ -- 2.40.1