diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-03-15 14:33:47 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-16 09:09:44 -0700 |
| commit | f8ece969ea279f37938a54e6d8c01e9937753f03 (patch) | |
| tree | c68e2eef4293af27fadd1c8c66c9b03032592f70 /meta-oe/recipes-support/ckermit/ckermit_302.bb | |
| parent | 32eb26264323888e77154c2aeadc9994a4a54d5d (diff) | |
| download | meta-openembedded-f8ece969ea279f37938a54e6d8c01e9937753f03.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>
Diffstat (limited to 'meta-oe/recipes-support/ckermit/ckermit_302.bb')
| -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 898a4eeb4a..f5d6d9d4f8 100644 --- a/meta-oe/recipes-support/ckermit/ckermit_302.bb +++ b/meta-oe/recipes-support/ckermit/ckermit_302.bb | |||
| @@ -29,7 +29,7 @@ do_compile () { | |||
| 29 | # The original makefile doesn't differentiate between CC and CC_FOR_BUILD, | 29 | # The original makefile doesn't differentiate between CC and CC_FOR_BUILD, |
| 30 | # so we build wart manually. Note that you need a ckwart.o with the proper | 30 | # so we build wart manually. Note that you need a ckwart.o with the proper |
| 31 | # timestamp to make this hack work: | 31 | # timestamp to make this hack work: |
| 32 | ${BUILD_CC} -c ckwart.c | 32 | ${BUILD_CC} -DMAINTYPE=int -c -o ckwart.o ckwart.c |
| 33 | ${BUILD_CC} -o wart ckwart.o | 33 | ${BUILD_CC} -o wart ckwart.o |
| 34 | ./wart ckcpro.w ckcpro.c | 34 | ./wart ckcpro.w ckcpro.c |
| 35 | 35 | ||
| @@ -46,7 +46,8 @@ do_compile () { | |||
| 46 | -DNORESEND -DNOAUTODL -DNOSTREAMING -DNOHINTS -DNOCKXYZ -DNOLEARN \ | 46 | -DNORESEND -DNOAUTODL -DNOSTREAMING -DNOHINTS -DNOCKXYZ -DNOLEARN \ |
| 47 | -DNOMKDIR -DNOPERMS -DNOCKTIMERS -DNOCKREGEX -DNOREALPATH \ | 47 | -DNOMKDIR -DNOPERMS -DNOCKTIMERS -DNOCKREGEX -DNOREALPATH \ |
| 48 | -DCK_SMALL -DNOLOGDIAL -DNORENAME -DNOWHATAMI \ | 48 | -DCK_SMALL -DNOLOGDIAL -DNORENAME -DNOWHATAMI \ |
| 49 | -DNOARROWKEYS -DMAINTYPE=int" | 49 | -DNOARROWKEYS -DMAINTYPE=int \ |
| 50 | -D_DEFAULT_SOURCE -ansi" | ||
| 50 | } | 51 | } |
| 51 | 52 | ||
| 52 | do_install () { | 53 | do_install () { |
