From 79ae4ff3ff9d35bbdeebb213fcf7b87bead66306 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 24 Jul 2014 18:30:53 +0200 Subject: [PATCH] efl: fix armv7 cross build. --- srcpkgs/efl/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/efl/template b/srcpkgs/efl/template index b13a05c02ec..fb71298abbf 100644 --- a/srcpkgs/efl/template +++ b/srcpkgs/efl/template @@ -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