efl: fix armv7 cross build.

This commit is contained in:
Juan RP 2014-07-24 18:30:53 +02:00
parent 048f03abf3
commit 79ae4ff3ff
1 changed files with 6 additions and 2 deletions

View File

@ -17,12 +17,12 @@ distfiles="http://download.enlightenment.org/rel/libs/efl/efl-${version}.tar.gz"
checksum=44acf012f0dd3b0c01bb2c5e53231076d7ed463166f581d22ef441b127e8c85f
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" automake gettext-devel libtool efl>=1.10 harfbuzz-devel"
hostmakedepends+=" automake gettext-devel libtool efl>=1.10"
configure_args+=" --with-eolian-cxx=/usr/bin/eolian_cxx"
configure_args+=" --with-eolian-gen=/usr/bin/eolian_gen"
configure_args+=" --with-bin-edje-cc=/usr/bin/edje_cc"
pre_configure() {
NOCONFIGURE=1 autoreconf -fi
NOCONFIGURE=1 ./autogen.sh
}
fi
@ -40,6 +40,10 @@ case "$XBPS_TARGET_MACHINE" in
# Disable neon.
configure_args+=" --disable-neon"
;;
armv7l*)
# Force NEON instructions.
CFLAGS+=" -mfpu=neon"
;;
esac
if [ "$build_option_fb" ]; then