This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
To make arithmetic on tainted dualvars work properly requires that
[perl5.git] / hints / uts.sh
index 01b217c..eb0d78c 100644 (file)
@@ -1,17 +1,32 @@
 archname='s390'
-cc='cc'
-ccflags='-Xa -XTSTRINGS=1500000'
+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'
-d_bincompat3='undef'        
-d_csh='undef'       
-d_lstat='define'    
-d_suidsafe='define'                 
+d_bincompat3='undef'
+d_csh='undef' 
+d_lstat='define'
+d_suidsafe='define'
 dlsrc='dl_dlopen.xs'
-ld='ld'             
+i_ieeefp='undef'
+ld='ld'
 lddlflags='-G -z text'
 libperl='libperl.so'
-libpth='/lib /usr/lib /usr/ccs/lib' 
+libpth='/lib /usr/lib /usr/ccs/lib'
 libs='-lsocket -lnsl -ldl -lm'
-prefix='psf_prefix'  
-static_ext='none'    
-useshrplib='define'  
+libswanted='m'
+prefix='/usr/local'
+toke_cflags='optimize=""' 
+useshrplib='define'
+
+#################################
+# 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'
+dynamic_ext=`echo " $dynamic_ext " |
+  sed -e 's/ POSIX / /' -e 's/ B / /'`
+EOSH