[vlc-devel] [PATCH 2/6] contrib: aom: cleanup build directory

Alexandre Janniaux ajanni at videolabs.io
Fri Nov 22 16:08:00 CET 2019


Not cleaning it can lead to side effects when trying to rebuilding the
contrib.
---
 contrib/src/aom/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/aom/rules.mak b/contrib/src/aom/rules.mak
index aa990cecd6..ee1df0b77e 100644
--- a/contrib/src/aom/rules.mak
+++ b/contrib/src/aom/rules.mak
@@ -88,7 +88,7 @@ endif
 
 # libaom doesn't allow in-tree builds
 .aom: aom toolchain.cmake
-	cd $< && mkdir -p aom_build
+	cd $< && rm -rf aom_build && mkdir -p aom_build
 	cd $</aom_build && LDFLAGS="$(AOM_LDFLAGS)" $(HOSTVARS) $(CMAKE) ../ $(AOM_CONF)
 	cd $< && $(MAKE) -C aom_build
 	$(call pkg_static,"aom_build/aom.pc")
-- 
2.24.0



More information about the vlc-devel mailing list