Re: [PATCHv2] add Android support
Am 19.05.2011 um 14:20 schrieb Jeff King:
> The point of uname_S is that it would be found automatically. Sadly,
> There is nothing helpful in uname to tell us that we are on android:
>
Actually, you can't even call uname as I suspect that you would normally not compile on Android (I don't think that gcc runs on Android) but always cross-compile.
> So I think we are probably stuck either with the user setting an ANDROID
> meta-flag that sets the other flags appropriately, or leaving it up to
> the user to provide a sane config.mak.
Yes, I agree that leaving it up completely to the user to provide a config.mak is a very good option too, especially as build environments might be different and some might want to try building with Perl and libcurl, which would require a config.mak anyhow.