mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
ckermit: Pass -DNOARROWKEYS by default
glibc 2.28+ has caught up with rest of libraries
and now build complains in same manner as musl
ckucmd.c: In function 'cmdconchk':
ckucmd.c:7386:14: error: 'FILE' {aka 'struct _IO_FILE'} has no member named '_cnt'
x = stdin->_cnt;
^~
therefore add -DNOARROWKEYS even for glibc as well
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
eedd174a26
commit
3519c45f5f
@ -20,12 +20,6 @@ export INFODIR = "${infodir}"
|
||||
|
||||
EXTRA_OEMAKE = "-e MAKEFLAGS="
|
||||
|
||||
# Additional flags. For uclibc we add -DNOARROWKEYS which stops ckermit
|
||||
# trying to look inside the stdio headers.
|
||||
CKERMIT_ADDITIONAL = ""
|
||||
CKERMIT_ADDITIONAL_libc-uclibc = "-DNOARROWKEYS"
|
||||
CKERMIT_ADDITIONAL_libc-musl = "-DNOARROWKEYS"
|
||||
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
do_compile () {
|
||||
@ -49,7 +43,7 @@ do_compile () {
|
||||
-DNORESEND -DNOAUTODL -DNOSTREAMING -DNOHINTS -DNOCKXYZ -DNOLEARN \
|
||||
-DNOMKDIR -DNOPERMS -DNOCKTIMERS -DNOCKREGEX -DNOREALPATH \
|
||||
-DCK_SMALL -DNOLOGDIAL -DNORENAME -DNOWHATAMI \
|
||||
${CKERMIT_ADDITIONAL}"
|
||||
-DNOARROWKEYS"
|
||||
}
|
||||
|
||||
do_install () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user