diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-25 23:19:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-26 09:14:43 +0100 |
commit | ca052426a66ffa45b8c4fa54284dcce11fd2d598 (patch) | |
tree | 8adc254999b8d39557564baf28c3d1ca1acab3bb /meta/recipes-core/glibc/cross-localedef-native_2.20.bb | |
parent | 540b92736c66dc70bb2eeaad45065473b20d1569 (diff) | |
download | poky-ca052426a66ffa45b8c4fa54284dcce11fd2d598.tar.gz |
cross-localedef-native: Use older C standards for older code
This older code needs specific compiler options to allow it to work
with gcc 5. These options are used in the 2.21 recipe in master/fido
so this simply backports them.
(From OE-Core rev: 447dba2a6a077c83083556ab79ab265d4b8a048f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/cross-localedef-native_2.20.bb')
-rw-r--r-- | meta/recipes-core/glibc/cross-localedef-native_2.20.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 ccf56a9415..66119b1b5e 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" | |||
39 | S = "${WORKDIR}/git" | 39 | S = "${WORKDIR}/git" |
40 | 40 | ||
41 | EXTRA_OECONF = "--with-glibc=${S}" | 41 | EXTRA_OECONF = "--with-glibc=${S}" |
42 | CFLAGS += "-DNOT_IN_libc=1" | 42 | CFLAGS += "-fgnu89-inline -std=gnu99 -DNOT_IN_libc=1" |
43 | 43 | ||
44 | do_configure () { | 44 | do_configure () { |
45 | ${S}/localedef/configure ${EXTRA_OECONF} | 45 | ${S}/localedef/configure ${EXTRA_OECONF} |