# src/MD5.c  src/byterun.c src/ebcdic.c src/md5c.c

SRC=\
src/av.c \
src/deb.c \
src/doio.c \
src/doop.c \
src/dump.c \
src/fake_dyna.c \
src/globals.c \
src/gv.c \
src/hv.c \
src/mg.c \
src/op.c \
src/perl.c \
src/perlio.c \
src/perly.c \
src/pp.c \
src/pp_ctl.c \
src/pp_hot.c \
src/pp_sys.c \
src/regcomp.c \
src/regexec.c \
src/run.c \
src/scope.c \
src/sv.c \
src/taint.c \
src/toke.c \
src/universal.c \
src/unix_perlmain.c \
src/util.c \
src/MD5.c \
src/md5c.c

IT=perlbmk
#CFLAGS_EXTRA = -DSPEC_CPU2000_LINUX -D_IOCTL_  -DHAS_DBL_DIG

CFLAGS_EXTRA = -DSPEC_CPU2000_LINUX -DHAS_DBL_DIG -DSPEC_CPU2000_NEED_TIME_H

EXTRA_CLEAN= benums  cpu2000_mhonarc.rc lib dictionary

include ../Makefile.common

# src/MD5.c  src/byterun.c src/ebcdic.c src/md5c.c

SRC=\
src/av.c \
src/deb.c \
src/doio.c \
src/doop.c \
src/dump.c \
src/fake_dyna.c \
src/globals.c \
src/gv.c \
src/hv.c \
src/mg.c \
src/op.c \
src/perl.c \
src/perlio.c \
src/perly.c \
src/pp.c \
src/pp_ctl.c \
src/pp_hot.c \
src/pp_sys.c \
src/regcomp.c \
src/regexec.c \
src/run.c \
src/scope.c \
src/sv.c \
src/taint.c \
src/toke.c \
src/universal.c \
src/unix_perlmain.c \
src/util.c \
src/MD5.c \
src/md5c.c

IT=perlbmk
#CFLAGS_EXTRA = -DSPEC_CPU2000_LINUX -D_IOCTL_  -DHAS_DBL_DIG

CFLAGS_EXTRA = -DSPEC_CPU2000_LINUX -DHAS_DBL_DIG -DSPEC_CPU2000_NEED_TIME_H \
-DSPEC_CPU2000_NEED_BOOL

EXTRA_CLEAN= benums  cpu2000_mhonarc.rc lib dictionary

include ../Makefile.common

Fix 253.perlbmk compilation against glibc.
Fix 253.perlbmk compilation against glibc.

There is a bug in perlbmk source (fixed in newer versions of perl):
src/handy.h checks if _G_HAVE_BOOL is defined.
If it is not, src/handy.h defines bool itself (this is how our newlib toolchain works here).
If it is, src/handy.h DOES NOTHING, which is wrong. It should include <stdbool.h> to get bool.
Standrad SPEC_CPU2000 harness avoids this bug by compiling perlbmk with -DSPEC_CPU2000_NEED_BOOL.

This CL adds -DSPEC_CPU2000_NEED_BOOL to perlbmk compilation flags.
Another option was to fix the source, which I like less.


Review URL: http://codereview.chromium.org/4891002

git-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@3683 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
