diff options
-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 () { |