ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/App-Staticperl/staticperl.sh
(Generate patch)

Comparing App-Staticperl/staticperl.sh (file contents):
Revision 1.29 by root, Fri Feb 11 01:04:50 2011 UTC vs.
Revision 1.33 by root, Thu Feb 24 07:10:03 2011 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines