This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
filelify shouldn't always escape dots.
[perl5.git] / hints / uts.sh
index 592bc3e..2ac5221 100644 (file)
@@ -1,8 +1,8 @@
 archname='s390'
-archobjs='uts/strtol_wrap.o'
-cc='cc'
+archobjs='uts/strtol_wrap.o uts/sprintf_wrap.o'
+cc='cc -Xa'
+ccflags='-XTSTRINGS=1500000 -DStrtol=strtol_wrap32 -DStrtoul=strtoul_wrap32 -DSPRINTF_E_BUG'
 cccdlflags='-pic'
-ccflags='-Xa -XTSTRINGS=1500000 -DStrtol=strtol_wrap32 -DStrtoul=strtoul_wrap32'
 d_bincompat3='undef'
 d_csh='undef' 
 d_lstat='define'
@@ -13,16 +13,17 @@ ld='ld'
 lddlflags='-G -z text'
 libperl='libperl.so'
 libpth='/lib /usr/lib /usr/ccs/lib'
-libs='-lsocket -lnsl -ldl -lm'  
+libs='-lsocket -lnsl -ldl -lm'
 libswanted='m'
 prefix='/usr/local'
 toke_cflags='optimize=""' 
-useshrplib='define'
+useshrplib='true'
 
 #################################
 # Some less routine stuff:
 #################################
 cc -g -Xa -c -pic -O uts/strtol_wrap.c -o uts/strtol_wrap.o
+cc -g -Xa -c -pic -O uts/sprintf_wrap.c -o uts/sprintf_wrap.o
 # Make POSIX a static extension.
 cat <<'EOSH' > config.over
 static_ext='POSIX B'