… | |
… | |
10 | # perl build variables |
10 | # perl build variables |
11 | MAKE=make |
11 | MAKE=make |
12 | PERL_VERSION=5.12.3 # 5.8.9 is also a good choice |
12 | PERL_VERSION=5.12.3 # 5.8.9 is also a good choice |
13 | PERL_CC=cc |
13 | PERL_CC=cc |
14 | PERL_CONFIGURE="" # additional Configure arguments |
14 | PERL_CONFIGURE="" # additional Configure arguments |
15 | PERL_CCFLAGS="-DPERL_DISABLE_PMC -DPERL_ARENA_SIZE=16376 -D_GNU_SOURCE -DNDEBUG" |
15 | PERL_CCFLAGS="-g -DPERL_DISABLE_PMC -DPERL_ARENA_SIZE=16376 -DNO_PERL_MALLOC_ENV -D_GNU_SOURCE -DNDEBUG" |
16 | PERL_OPTIMIZE="-g -Os -ffunction-sections -fdata-sections -finline-limit=8 -ffast-math" |
16 | PERL_OPTIMIZE="-Os -ffunction-sections -fdata-sections -finline-limit=8 -ffast-math" |
17 | |
17 | |
18 | ARCH="$(uname -m)" |
18 | ARCH="$(uname -m)" |
19 | |
19 | |
20 | case "$ARCH" in |
20 | case "$ARCH" in |
21 | i*86 | x86_64 | amd64 ) |
21 | i*86 | x86_64 | amd64 ) |
… | |
… | |
71 | unset PERL5OPT PERL5LIB PERLLIB PERL_UNICODE PERLIO_DEBUG |
71 | unset PERL5OPT PERL5LIB PERLLIB PERL_UNICODE PERLIO_DEBUG |
72 | LC_ALL=C; export LC_ALL # just to be on the safe side |
72 | LC_ALL=C; export LC_ALL # just to be on the safe side |
73 | |
73 | |
74 | # set version in a way that Makefile.PL can extract |
74 | # set version in a way that Makefile.PL can extract |
75 | VERSION=VERSION; eval \ |
75 | VERSION=VERSION; eval \ |
76 | $VERSION="1.0" |
76 | $VERSION="1.1" |
77 | |
77 | |
78 | BZ2=bz2 |
78 | BZ2=bz2 |
79 | BZIP2=bzip2 |
79 | BZIP2=bzip2 |
80 | |
80 | |
81 | fatal() { |
81 | fatal() { |