Patchwork [06/11] icu: Fix build on uclibc

login
register
mail settings
Submitter Khem Raj
Date Jan. 24, 2013, 9:07 p.m.
Message ID <45571588d782a288bde39e2e6c19b8306e9e6625.1359061155.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/43325/
State Accepted
Commit 8fb1e3b74b01095cbc626497f1a7c71145343af3
Headers show

Comments

Khem Raj - Jan. 24, 2013, 9:07 p.m.
_timezone is not implemented in uclibc therefore
bypass it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-support/icu/icu.inc |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-support/icu/icu.inc b/meta/recipes-support/icu/icu.inc
index 1329635..64b3edf 100644
--- a/meta/recipes-support/icu/icu.inc
+++ b/meta/recipes-support/icu/icu.inc
@@ -11,6 +11,7 @@  STAGING_ICU_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/${BPN}/${PV}"
 
 PARALLEL_MAKE = ""
 FULL_OPTIMIZATION_arm = "-Os"
+CPPFLAGS_append_libc-uclibc = " -DU_TIMEZONE=0"
 
 inherit autotools pkgconfig binconfig