… | |
… | |
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 -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 ) |
… | |
… | |
260 | -Usiteman3dir \ |
260 | -Usiteman3dir \ |
261 | -Dpager=/usr/bin/less \ |
261 | -Dpager=/usr/bin/less \ |
262 | -Demail="$EMAIL" \ |
262 | -Demail="$EMAIL" \ |
263 | -Dcf_email="$EMAIL" \ |
263 | -Dcf_email="$EMAIL" \ |
264 | -Dcf_by="$EMAIL" \ |
264 | -Dcf_by="$EMAIL" \ |
265 | -UDEBUGGING \ |
|
|
266 | $PERL_CONFIGURE \ |
265 | $PERL_CONFIGURE \ |
267 | -Duseperlio \ |
266 | -Duseperlio \ |
268 | -dE || configure_failure |
267 | -dE || configure_failure |
269 | |
268 | |
270 | sedreplace ' |
269 | sedreplace ' |