[vlc-commits] contrib: aom: cleanup build directory
Alexandre Janniaux
git at videolan.org
Tue Nov 26 13:58:10 CET 2019
vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | 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 <thomas at gllm.fr>
> 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")
More information about the vlc-commits
mailing list