diff options
author | Hal Morris <hom00@utsglobal.com> | 2001-06-02 02:23:11 -0700 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-04 16:54:21 +0000 |
commit | 8935ee17b2edadcfca0c196679b39cd0ade49541 (patch) | |
tree | 8eeca0a607bb1b26d71041cb6251ca4dcf66f4a5 /hints/uts.sh | |
parent | 2ef53570a0a9292278fc7d34d7d21270dd5ac7f0 (diff) | |
download | perl-8935ee17b2edadcfca0c196679b39cd0ade49541.tar.gz |
One fix for strtoul not setting errno
Message-Id: <200106021623.JAA06906@cepheus.utsglobal.com>
p4raw-id: //depot/perl@10436
Diffstat (limited to 'hints/uts.sh')
-rw-r--r-- | hints/uts.sh | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/hints/uts.sh b/hints/uts.sh index 06a0fdab78..592bc3e84c 100644 --- a/hints/uts.sh +++ b/hints/uts.sh @@ -1,7 +1,8 @@ archname='s390' +archobjs='uts/strtol_wrap.o' cc='cc' cccdlflags='-pic' -ccflags='-Xa -XTSTRINGS=1500000' +ccflags='-Xa -XTSTRINGS=1500000 -DStrtol=strtol_wrap32 -DStrtoul=strtoul_wrap32' d_bincompat3='undef' d_csh='undef' d_lstat='define' @@ -14,6 +15,17 @@ libperl='libperl.so' libpth='/lib /usr/lib /usr/ccs/lib' libs='-lsocket -lnsl -ldl -lm' libswanted='m' -prefix='psf_prefix' +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 +# 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 |