diff options
| -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 57b69492ce..bc9b236b84 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
| @@ -309,7 +309,9 @@ base_do_configure() { | |||
| 309 | if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then | 309 | if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then |
| 310 | oe_runmake clean | 310 | oe_runmake clean |
| 311 | fi | 311 | fi |
| 312 | find ${B} -ignore_readdir_race -name \*.la -delete | 312 | # -ignore_readdir_race does not work correctly with -delete; |
| 313 | # use xargs to avoid spurious build failures | ||
| 314 | find ${B} -ignore_readdir_race -name \*.la -type f -print0 | xargs -0 rm -f | ||
| 313 | fi | 315 | fi |
| 314 | fi | 316 | fi |
| 315 | if [ -n "${CONFIGURESTAMPFILE}" ]; then | 317 | if [ -n "${CONFIGURESTAMPFILE}" ]; then |
