[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

 

posted @ 2013-04-18 09:00  scue  阅读(274)  评论(0编辑  收藏  举报