A nicely working combination for UTS from Hal Morris.
Jarkko Hietaniemi [Fri, 11 May 2001 01:59:06 +0000 (01:59 +0000)]
p4raw-id: //depot/perl@10079

MANIFEST
ext/POSIX/hints/uts.pl [new file with mode: 0644]
hints/uts.sh

index afcc647..f09c981 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -414,6 +414,7 @@ ext/POSIX/hints/next_3.pl       Hint for POSIX for named architecture
 ext/POSIX/hints/openbsd.pl     Hint for POSIX for named architecture
 ext/POSIX/hints/sunos_4.pl     Hint for POSIX for named architecture
 ext/POSIX/hints/svr4.pl                Hint for POSIX for named architecture
+ext/POSIX/hints/uts.pl         Hint for POSIX for named architecture
 ext/POSIX/typemap              POSIX extension interface types
 ext/PerlIO/Scalar/Makefile.PL  PerlIO layer for scalars
 ext/PerlIO/Scalar/Scalar.pm    PerlIO layer for scalars
diff --git a/ext/POSIX/hints/uts.pl b/ext/POSIX/hints/uts.pl
new file mode 100644 (file)
index 0000000..7a18b4a
--- /dev/null
@@ -0,0 +1,9 @@
+# UTS - Leaving -lm in there results in death of make with the message:
+#         LD_RUN_PATH="/usr/ccs/lib" ld  -G -z text POSIX.o \
+#         -o ../../lib/auto/POS IX/POSIX.so   -lm
+# relocations referenced
+#         from file(s)
+#         /usr/ccs/lib/libm.a(acos.o)
+#               ...
+
+$self->{LIBS} = [''];
index f774ee4..06a0fda 100644 (file)
@@ -2,17 +2,18 @@ archname='s390'
 cc='cc'
 cccdlflags='-pic'
 ccflags='-Xa -XTSTRINGS=1500000'
-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'
 i_ieeefp='undef'
-ld='ld'             
+ld='ld'
 lddlflags='-G -z text'
 libperl='libperl.so'
-libpth='/lib /usr/lib /usr/ccs/lib' 
-libs='-lsocket -lnsl -ldl -lm'
-prefix='psf_prefix'  
-static_ext='none'    
-useshrplib='define'  
+libpth='/lib /usr/lib /usr/ccs/lib'
+libs='-lsocket -lnsl -ldl -lm'  
+libswanted='m'
+prefix='psf_prefix'
+toke_cflags='optimize=""' 
+useshrplib='define'