summaryrefslogtreecommitdiff
path: root/hints/qnx.sh
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2009-04-18 16:55:34 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2009-04-18 16:55:34 +0200
commit58ccccf6974c5065b1e46a35535f9539731d055a (patch)
treecf08c2066e114d7f944220f69482e16e5fbadc0d /hints/qnx.sh
parentce75ce2a31fe3e5dc80ec02db17cf150542e3d4a (diff)
downloadperl-58ccccf6974c5065b1e46a35535f9539731d055a.tar.gz
Here are some patches for QNX6 against 5.10.x. Unpatched and patched
smoke reports also attached. From: Sean Boudreau <seanb@qnx.com> Date: Sun, 12 Apr 2009 10:18:39 -0400 Message-ID: <20090412141839.GA27971644@qnx.com>
Diffstat (limited to 'hints/qnx.sh')
-rw-r--r--hints/qnx.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/hints/qnx.sh b/hints/qnx.sh
index 3ef2f32afe..473815cae5 100644
--- a/hints/qnx.sh
+++ b/hints/qnx.sh
@@ -242,7 +242,7 @@ if [ "$osname" = "qnx" ]; then
else
# $^O eq nto
- ccflags='-DDLOPEN_WONT_DO_RELATIVE_PATHS'
+ ccflags='-U__STRICT_ANSI__'
# Options required to get dynamic linking to work
lddlflags='-shared'
@@ -259,7 +259,10 @@ else
# If we use perl's malloc, it dies with an invalid sbrk.
# This is probably worth tracking down someday.
usemymalloc='false'
+
+ libswanted=`echo " $libswanted "| sed 's/ malloc / /'`
- # crypt isn't detected in the C library even though it's there.
- d_crypt='define'
+ # Some routines are only in our static libc.
+ # eg crypt() getlogin() getlogin_r()
+ usenm=false
fi