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

Comparing cvsroot/App-Staticperl/staticperl.sh (file contents):
Revision 1.3 by root, Mon Dec 6 21:10:41 2010 UTC vs.
Revision 1.4 by root, Tue Dec 7 09:27:54 2010 UTC

10 10
11MKBUNDLE="$STATICPERL/mkbundle" 11MKBUNDLE="$STATICPERL/mkbundle"
12 12
13# perl build variables 13# perl build variables
14PREFIX="$STATICPERL/perl" # where the perl gets installed 14PREFIX="$STATICPERL/perl" # where the perl gets installed
15PERL_CONFIGURE="" # additional Configure arguments
15PERL_CPPFLAGS="-DPERL_DISABLE_PMC -DPERL_ARENA_SIZE=65536 -D_GNU_SOURCE -DNDEBUG -USITELIB_EXP -USITEARCHEXP -UARCHLIB_EXP" 16PERL_CPPFLAGS="-DPERL_DISABLE_PMC -DPERL_ARENA_SIZE=65536 -D_GNU_SOURCE -DNDEBUG -USITELIB_EXP -USITEARCHEXP -UARCHLIB_EXP"
16PERL_OPTIMIZE="-Os -ffunction-sections -fdata-sections -finline-limit=8 -ffast-math" 17PERL_OPTIMIZE="-Os -ffunction-sections -fdata-sections -finline-limit=8 -ffast-math"
17 18
18ARCH="$(uname -m)" 19ARCH="$(uname -m)"
19 20
211 -Usiteman3dir \ 212 -Usiteman3dir \
212 -Dpager=/usr/bin/less \ 213 -Dpager=/usr/bin/less \
213 -Demail="$EMAIL" \ 214 -Demail="$EMAIL" \
214 -Dcf_email="$EMAIL" \ 215 -Dcf_email="$EMAIL" \
215 -Dcf_by="$EMAIL" \ 216 -Dcf_by="$EMAIL" \
217 $PERL_CONFIGURE \
216 -dE || fatal "Configure failed" 218 -dE || fatal "Configure failed"
217 219
218 sedreplace ' 220 sedreplace '
219 s/-Wl,--no-gc-sections/-Wl,--gc-sections/g 221 s/-Wl,--no-gc-sections/-Wl,--gc-sections/g
220 s/ *-fno-stack-protector */ /g 222 s/ *-fno-stack-protector */ /g

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines