File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ cd objdir
2020PREFIX=` pwd`
2121cd -
2222
23- if [[ $OS == " Msys" || $OS == " Cygwin" || $CROSS_COMPILE_HOST == " i686-w64-mingw32" ]] ; then
23+ if [[ $OS == " Msys" || $OS == " Cygwin" || $CROSS_COMPILE_HOST == " i686-w64-mingw32" || $CROSS_COMPILE_HOST == " aarch64-linux-gnu " ]] ; then
2424 # Avoid compiling ncurses in Windows platform
2525 exit 0
2626fi
@@ -40,6 +40,7 @@ CONFARGS="--prefix=$PREFIX --disable-shared --without-debug --without-ada --with
4040if [[ $CROSS_COMPILE != " " ]] ; then
4141 CONFARGS=" $CONFARGS --host=$CROSS_COMPILE_HOST "
4242fi
43+ autoconf
4344CFLAGS=" -w -O2 $CFLAGS -fPIC" CPPFLAGS=" -P" CXXFLAGS=" -w -O2 $CXXFLAGS -fPIC" LDFLAGS=" -s $LDFLAGS -fPIC" ./configure $CONFARGS
4445make -j 4
4546make install.libs
You can’t perform that action at this time.
0 commit comments