[Linux]编译git for Android

 make configure -e CC=${CROSS_COMPILE}gcc LDFLAGS+=-static

./configure --prefix=/data/local/usr/share --host=arm-none-linux-gnueabi ac_cv_c_c99_format=yes ac_cv_fread_reads_directories=no  ac_cv_snprintf_returns_bogus=no CC=${CROSS_COMPILE}gcc LDFLAGS=-static

make -e CC=${CROSS_COMPILE}gcc LDFLAGS+=-static

make install

 

你可能感兴趣的:(android)