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 <[email protected]>
---
 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
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to