diff mbox series

[oe,meta-oe,2/2] ckermit: Pass -DNOARROWKEYS by default

Message ID 20180814163445.24736-2-raj.khem@gmail.com
State Accepted
Commit 3519c45f5fcef27a83be30fa933832d974cb0728
Headers show
Series [oe,meta-oe,V2,1/2] stress-ng: Upgrade to 0.09.37 | expand

Commit Message

Khem Raj Aug. 14, 2018, 4:34 p.m. UTC
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>

---
 meta-oe/recipes-support/ckermit/ckermit_302.bb | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

-- 
2.18.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/ckermit/ckermit_302.bb b/meta-oe/recipes-support/ckermit/ckermit_302.bb
index 61c08ee276..abeeeccd1d 100644
--- a/meta-oe/recipes-support/ckermit/ckermit_302.bb
+++ b/meta-oe/recipes-support/ckermit/ckermit_302.bb
@@ -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 () {