diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/base.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index abb4eadf50..2a6a6cb6d7 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -303,7 +303,9 @@ base_do_configure() { | |||
303 | if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then | 303 | if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then |
304 | oe_runmake clean | 304 | oe_runmake clean |
305 | fi | 305 | fi |
306 | find ${B} -ignore_readdir_race -name \*.la -delete | 306 | # -ignore_readdir_race does not work correctly with -delete; |
307 | # use xargs to avoid spurious build failures | ||
308 | find ${B} -ignore_readdir_race -name \*.la -type f -print0 | xargs -0 rm -f | ||
307 | fi | 309 | fi |
308 | fi | 310 | fi |
309 | if [ -n "${CONFIGURESTAMPFILE}" ]; then | 311 | if [ -n "${CONFIGURESTAMPFILE}" ]; then |