From 83a3b04d95d6649a5562d643d21508e9daca4bd3 Mon Sep 17 00:00:00 2001 From: Zhenming Zhao Date: Tue, 13 Oct 2015 10:10:54 +0800 Subject: [PATCH] glibc: fix native builds when host has gcc5 Port the recipe file from 2.21. Signed-off-by: Zhenming Zhao --- .../glibc/cross-localedef-native_2.20.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.20.bb b/meta/recipes-core/glibc/cross-localedef-native_2.20.bb index ccf56a9..63f280d 100644 --- a/meta/recipes-core/glibc/cross-localedef-native_2.20.bb +++ b/meta/recipes-core/glibc/cross-localedef-native_2.20.bb @@ -39,7 +39,7 @@ SRCREV_localedef = "c833367348d39dad7ba018990bfdaffaec8e9ed3" S = "${WORKDIR}/git" EXTRA_OECONF = "--with-glibc=${S}" -CFLAGS += "-DNOT_IN_libc=1" +CFLAGS += "-fgnu89-inline -std=gnu99 -DIS_IN\(x\)='0'" do_configure () { ${S}/localedef/configure ${EXTRA_OECONF} -- 1.7.9.5