[Buildroot] [PATCH] enlightenment: disable ptrace for ppc & sparc

Gustavo Zacarias gustavo at zacarias.com.ar
Sun Sep 7 13:34:37 UTC 2014


The sys/ptrace.h header for uclibc <= 0.9.33.2 is incomplete and lacks
required definitions for powerpc and sparc.
Fixes:
http://autobuild.buildroot.net/results/a7f/a7f95353f5592a9399c542d8d56c3ca040f8a61a/

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
 package/enlightenment/enlightenment.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/enlightenment/enlightenment.mk b/package/enlightenment/enlightenment.mk
index 389636d..64e3d9e 100644
--- a/package/enlightenment/enlightenment.mk
+++ b/package/enlightenment/enlightenment.mk
@@ -28,6 +28,11 @@ ENLIGHTENMENT_CONF_OPT = --with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
 			 --with-eet-eet=$(HOST_DIR)/usr/bin/eet \
 			 --disable-rpath
 
+# uClibc has an old incomplete sys/ptrace.h for powerpc & sparc
+ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_powerpc)$(BR2_sparc),yy)
+ENLIGHTENMENT_CONF_ENV += ac_cv_header_sys_ptrace_h=no
+endif
+
 # alsa backend needs mixer support
 ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy)
 ENLIGHTENMENT_DEPENDENCIES += alsa-lib
-- 
1.8.5.5



More information about the buildroot mailing list