add cross-compilation support for git
Closed this issue · 1 comments
mahaase commented
basement/recipes/devel/git.yaml
Lines 24 to 38 in cbd2542
currently it is not possible to cross-compile git, because of missing --build
argument, we should add this.
Ferruck commented
As discussed with @jkloetzke in #136 (comment) it's not as easy as adding the --build
parameter. Git has some configure
checks which run actual test programs (which of course fails when cross-compiling). You'd have to set the respective ac_
variables in advance in order to keep the configure
script from trying to do this. The actual hard part is to get the correct settings for those variables, though, as they depend on - for example - the target libc.