[OE-core] [PATCH 3/8] [rpm] force a configure before make distclean
Jérémy Rosen
jeremy.rosen at smile.fr
Tue Aug 23 07:25:24 UTC 2016
The rpm recipe forces a distclean in the syck subdirectory. That call
uses the result of the last ./configure call (that was made by the rpm
developers) which assumes that gcc exists and is in the path
running ./configure before that ensures that BUILD_CC is properly used and
that the make distclean succeeds
Signed-off-by: Jérémy Rosen <jeremy.rosen at smile.fr>
---
meta/recipes-devtools/rpm/rpm_5.4.16.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.16.bb b/meta/recipes-devtools/rpm/rpm_5.4.16.bb
index 84adef6..6b82c6d 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.16.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.16.bb
@@ -526,7 +526,7 @@ do_configure() {
sed -e 's/pkg-config --exists uuid/pkg-config --exists ossp-uuid/g' \
-e 's/pkg-config uuid/pkg-config ossp-uuid/g' -i ${S}/configure
- ( cd ${S}/syck ; set +e ; rm -- -l* ; make distclean ) || :
+ ( cd ${S}/syck ; set +e ; rm -- -l* ; ./configure ; make distclean ) || :
export varprefix=${localstatedir}
oe_runconf
--
git-series 0.8.9
More information about the Openembedded-core
mailing list