--- App-Staticperl/staticperl.sh 2010/12/13 16:34:13 1.18 +++ App-Staticperl/staticperl.sh 2010/12/13 17:25:17 1.19 @@ -9,6 +9,7 @@ # perl build variables PERL_VERSION=5.12.2 # 5.8.9 is also a good choice +PERL_CC=cc PERL_CONFIGURE="" # additional Configure arguments PERL_CPPFLAGS="-DPERL_DISABLE_PMC -DPERL_ARENA_SIZE=65536 -D_GNU_SOURCE -DNDEBUG -USITELIB_EXP -USITEARCHEXP -UARCHLIB_EXP" PERL_OPTIMIZE="-Os -ffunction-sections -fdata-sections -finline-limit=8 -ffast-math" @@ -200,9 +201,9 @@ -Uusethreads \ -Uuseithreads \ -Uusemultiplicity \ - -Duseperlio \ -Uusesfio \ -Uuseshrplib \ + -Dcc="$PERL_CC" \ -Dcppflags="$PERL_CPPFLAGS" \ -Dccflags="-g2 -fno-strict-aliasing" \ -Doptimize="$PERL_OPTIMIZE" \ @@ -225,6 +226,7 @@ -Dcf_email="$EMAIL" \ -Dcf_by="$EMAIL" \ $PERL_CONFIGURE \ + -Duseperlio \ -dE || fatal "Configure failed" sedreplace '