summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorAndreas Koenig <k@anna.in-berlin.de>1996-09-28 15:11:06 +0200
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-09-28 15:11:06 +0200
commit2736da802602ebb8a87031939ceea385bfa03705 (patch)
tree21ff093bddb4562bae9e171202ee294189196c5b /hints
parent0885709e32474887d7190431cf5034f629a1beaf (diff)
downloadperl-2736da802602ebb8a87031939ceea385bfa03705.tar.gz
Dale's posting as patch (Was: Perl 5.003_5 make fails on NS3.2 - CURED)
Replace optimize="-g" by optimize="" since we're just trying to turn off the optimizier. Handle NeXT, POSIX, and setpgid in pp_sys.c and POSIX.
Diffstat (limited to 'hints')
-rw-r--r--hints/next_3.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/hints/next_3.sh b/hints/next_3.sh
index d1e16eeed0..d667ca2868 100644
--- a/hints/next_3.sh
+++ b/hints/next_3.sh
@@ -7,7 +7,6 @@
#
ccflags='-DUSE_NEXT_CTYPE -DUSE_PERL_SBRK -DHIDEMYMALLOC'
-POSIX_cflags='ccflags="-posix $ccflags"'
ldflags='-u libsys_s'
libswanted='dbm gdbm db'
@@ -64,7 +63,11 @@ d_strcoll='undef'
usemymalloc='y'
d_uname='define'
-d_setpgid='define'
+# setpgid() is in the posix library, but we don't use -posix, so
+# we don't see it. ext/POSIX/POSIX.xs *does* use -posix, so
+# setpgid is still available as POSIX::setpgid.
+# See ext/POSIX/POSIX/hints/next.pl.
+d_setpgid='undef'
d_setsid='define'
d_tcgetpgrp='define'
d_tcsetpgrp='define'
@@ -79,4 +82,7 @@ ranlib='sleep 5; /bin/ranlib'
#
# There where reports that the compiler on HPPA machines
# fails with the -O flag on pp.c.
-pp_cflags='optimize="-g"'
+# Compiling pp.c with -O for HPPA machines results in a broken perl.
+# This is true whether we're on an HPPA machine or cross-compiling
+# for one.
+pp_cflags='optimize=""'