diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-03-15 14:33:47 -0700 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2025-09-24 09:59:12 +0800 |
commit | b57123a0900e3aa2682e58c582387ed9d09958cf (patch) | |
tree | 19e0835b80129d3ff2f163641bec37b85480a32b | |
parent | 8e135096102ca2ce0ee64f42b88268b2ef5c10aa (diff) | |
download | meta-openembedded-b57123a0900e3aa2682e58c582387ed9d09958cf.tar.gz |
ckermit: Fix build with GCC-15
Also fix native pieces to build with gcc-14 while here
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f8ece969ea279f37938a54e6d8c01e9937753f03)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r-- | meta-oe/recipes-support/ckermit/ckermit_302.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/ckermit/ckermit_302.bb b/meta-oe/recipes-support/ckermit/ckermit_302.bb index 1ee776cefe..e9c3a53e38 100644 --- a/meta-oe/recipes-support/ckermit/ckermit_302.bb +++ b/meta-oe/recipes-support/ckermit/ckermit_302.bb | |||
@@ -28,7 +28,7 @@ do_compile () { | |||
28 | # The original makefile doesn't differentiate between CC and CC_FOR_BUILD, | 28 | # The original makefile doesn't differentiate between CC and CC_FOR_BUILD, |
29 | # so we build wart manually. Note that you need a ckwart.o with the proper | 29 | # so we build wart manually. Note that you need a ckwart.o with the proper |
30 | # timestamp to make this hack work: | 30 | # timestamp to make this hack work: |
31 | ${BUILD_CC} -c ckwart.c | 31 | ${BUILD_CC} -DMAINTYPE=int -c -o ckwart.o ckwart.c |
32 | ${BUILD_CC} -o wart ckwart.o | 32 | ${BUILD_CC} -o wart ckwart.o |
33 | ./wart ckcpro.w ckcpro.c | 33 | ./wart ckcpro.w ckcpro.c |
34 | 34 | ||
@@ -45,7 +45,8 @@ do_compile () { | |||
45 | -DNORESEND -DNOAUTODL -DNOSTREAMING -DNOHINTS -DNOCKXYZ -DNOLEARN \ | 45 | -DNORESEND -DNOAUTODL -DNOSTREAMING -DNOHINTS -DNOCKXYZ -DNOLEARN \ |
46 | -DNOMKDIR -DNOPERMS -DNOCKTIMERS -DNOCKREGEX -DNOREALPATH \ | 46 | -DNOMKDIR -DNOPERMS -DNOCKTIMERS -DNOCKREGEX -DNOREALPATH \ |
47 | -DCK_SMALL -DNOLOGDIAL -DNORENAME -DNOWHATAMI \ | 47 | -DCK_SMALL -DNOLOGDIAL -DNORENAME -DNOWHATAMI \ |
48 | -DNOARROWKEYS -DMAINTYPE=int" | 48 | -DNOARROWKEYS -DMAINTYPE=int \ |
49 | -D_DEFAULT_SOURCE -ansi" | ||
49 | } | 50 | } |
50 | 51 | ||
51 | do_install () { | 52 | do_install () { |