summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-05-11 01:59:06 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-11 01:59:06 +0000
commit85b4d566cfc4cf2b1ecaeebe47e23f42cb8382a1 (patch)
treeea13cd00e8674c5cc55d47cb477c05f3e4564418
parentcd71ac1b376fde66cad5f3c3639a2bb6deb88a10 (diff)
downloadperl-85b4d566cfc4cf2b1ecaeebe47e23f42cb8382a1.tar.gz
A nicely working combination for UTS from Hal Morris.
p4raw-id: //depot/perl@10079
-rw-r--r--MANIFEST1
-rw-r--r--ext/POSIX/hints/uts.pl9
-rw-r--r--hints/uts.sh21
3 files changed, 21 insertions, 10 deletions
diff --git a/MANIFEST b/MANIFEST
index afcc64732a..f09c981eb5 100644
--- 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
index 0000000000..7a18b4a91e
--- /dev/null
+++ b/ext/POSIX/hints/uts.pl
@@ -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} = [''];
diff --git a/hints/uts.sh b/hints/uts.sh
index f774ee43b4..06a0fdab78 100644
--- a/hints/uts.sh
+++ b/hints/uts.sh
@@ -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'