aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@gmail.com>2020-08-08 11:42:30 +0200
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-08-08 14:23:24 +0200
commitcaa9aac9054972a115484bafcb176952c1c6543d (patch)
treef71bee03c67867373030e8c96881b6d34541812d
parent5d8811eb87b0a3b352817a72928586af8aad2892 (diff)
downloadbuildroot-caa9aac9054972a115484bafcb176952c1c6543d.tar.gz
buildroot-caa9aac9054972a115484bafcb176952c1c6543d.tar.bz2
package/efl: avoid optimization flags added by meson
Efl's meson build system add some optimization flags related to cpu architecture [1]. In the context of Buildroot, such optimization flags are already provided by the toolchain wrapper. For ppc, efl's meson expect the altivec support is available but this is not the case for ppc e500 cpus. Disable native-arch-optimization option to avoid such issue. [1] https://git.enlightenment.org/core/efl.git/tree/meson.build?h=v1.24.3#n165 Fixes: http://autobuild.buildroot.net/results/dd2586be32c25d93eebfaa743c1f7d36915bb0d7 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
-rw-r--r--package/efl/efl.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/efl/efl.mk b/package/efl/efl.mk
index 6dc38b1626..b8c4a506ad 100644
--- a/package/efl/efl.mk
+++ b/package/efl/efl.mk
@@ -29,6 +29,7 @@ EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \
# elua=true: build elua for the target.
# sdl=false: disable sdl2 support.
# embedded-lz4=false: use liblz4 from lz4 package.
+# native-arch-optimization=false: avoid optimization flags added by meson.
# network-backend=none: disable connman networkmanager.
EFL_CONF_OPTS = \
-Davahi=false \
@@ -39,6 +40,7 @@ EFL_CONF_OPTS = \
-Delua=true \
-Dembedded-lz4=false \
-Dlua-interpreter=luajit \
+ -Dnative-arch-optimization=false \
-Dnetwork-backend=none \
-Dpixman=false \
-Dsdl=false \