mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
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>
This commit is contained in:
parent
540b92736c
commit
ca052426a6
|
|
@ -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 -DNOT_IN_libc=1"
|
||||
|
||||
do_configure () {
|
||||
${S}/localedef/configure ${EXTRA_OECONF}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user