aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro/recipes-extra
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2013-03-27 22:36:03 +0100
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2013-03-27 22:36:03 +0100
commitdc5a7c01630fc1a81e5cc282c154ccad2dafe0dc (patch)
tree2ab19e1bb3956e1658d6d1fa5a7db7ce5042eb11 /meta-linaro/recipes-extra
parentb95e284ef7b5dabf77dc17c4802bbadcecb908c3 (diff)
downloadmeta-linaro-dc5a7c01630fc1a81e5cc282c154ccad2dafe0dc.tar.gz
libmemcached: set endianness in best way
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Diffstat (limited to 'meta-linaro/recipes-extra')
-rw-r--r--meta-linaro/recipes-extra/libmemcached/libmemcached.inc2
-rw-r--r--meta-linaro/recipes-extra/libmemcached/libmemcached_1.0.7.bb3
2 files changed, 2 insertions, 3 deletions
diff --git a/meta-linaro/recipes-extra/libmemcached/libmemcached.inc b/meta-linaro/recipes-extra/libmemcached/libmemcached.inc
index 448a15d0..a3bda562 100644
--- a/meta-linaro/recipes-extra/libmemcached/libmemcached.inc
+++ b/meta-linaro/recipes-extra/libmemcached/libmemcached.inc
@@ -8,3 +8,5 @@ SRC_URI = "http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${
TARGET_LDFLAGS += "-luuid"
inherit autotools gettext pkgconfig
+
+CACHED_CONFIGUREVARS = 'ac_cv_c_endian=${@base_conditional("SITEINFO_ENDIANNESS", "le", "little", "big", d)}'
diff --git a/meta-linaro/recipes-extra/libmemcached/libmemcached_1.0.7.bb b/meta-linaro/recipes-extra/libmemcached/libmemcached_1.0.7.bb
index 7717f981..cdf8415f 100644
--- a/meta-linaro/recipes-extra/libmemcached/libmemcached_1.0.7.bb
+++ b/meta-linaro/recipes-extra/libmemcached/libmemcached_1.0.7.bb
@@ -2,6 +2,3 @@ require libmemcached.inc
SRC_URI[md5sum] = "d59a462a92d296f76bff2d9bc72b2516"
SRC_URI[sha256sum] = "3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81"
-
-CACHED_CONFIGUREVARS_aarch64 = "ac_cv_c_endian=little"
-CACHED_CONFIGUREVARS_x86-64 = "ac_cv_c_endian=little"