enlightenment: disable ptrace for ppc & sparc
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sun, 7 Sep 2014 13:34:37 +0000 (10:34 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 7 Sep 2014 19:56:04 +0000 (21:56 +0200)
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@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/enlightenment/enlightenment.mk

index 389636d38fc3cfc78c5868f08c54a75bf16a17ff..64e3d9ecf65b7842c5dffc6840ea7304c03d6603 100644 (file)
@@ -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