vlc | branch: master | Alexandre Janniaux <[email protected]> | Tue Nov 26 
10:56:41 2019 +0100| [49376b8d1d2de28a7a81ec2e6750599728abb197] | committer: 
Thomas Guillem

contrib: aom: cleanup build directory

Not cleaning it can lead to side effects when trying to rebuilding the
contrib.

Signed-off-by: Thomas Guillem <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=49376b8d1d2de28a7a81ec2e6750599728abb197
---

 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")

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to