summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/autotools.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index bed8a835d4..ca04e7976e 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -110,7 +110,7 @@ autotools_preconfigure() {
110 # At least remove the .la files since automake won't automatically 110 # At least remove the .la files since automake won't automatically
111 # regenerate them even if CFLAGS/LDFLAGS are different 111 # regenerate them even if CFLAGS/LDFLAGS are different
112 cd ${S} 112 cd ${S}
113 if [ -e Makefile -o -e makefile -o -e GNUmakefile ]; then 113 if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then
114 ${MAKE} clean 114 ${MAKE} clean
115 fi 115 fi
116 find ${S} -name \*.la -delete 116 find ${S} -name \*.la -delete