summaryrefslogtreecommitdiff
path: root/hints/qnx.sh
diff options
context:
space:
mode:
authorMatt Kraai <kraai@ftbfs.org>2007-11-15 07:01:34 -0800
committerH.Merijn Brand <h.m.brand@xs4all.nl>2007-11-16 11:00:07 +0000
commit27e6e01425c10b00199135fead7e37567cc0f4b3 (patch)
treeb70f285408f4728367b6a20d793e01ae9bbfb293 /hints/qnx.sh
parent4e592f10f45677b2800948f688180c0f1ee587b4 (diff)
downloadperl-27e6e01425c10b00199135fead7e37567cc0f4b3.tar.gz
Fix build failure on QNX
Message-ID: <20071115230134.GA4032@ftbfs.org> p4raw-id: //depot/perl@32332
Diffstat (limited to 'hints/qnx.sh')
-rw-r--r--hints/qnx.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/hints/qnx.sh b/hints/qnx.sh
index e4469a176a..59eac07a27 100644
--- a/hints/qnx.sh
+++ b/hints/qnx.sh
@@ -253,6 +253,9 @@ else
# recognize that option, so we're better off setting cc=gcc.
cc='gcc'
+ # gcc uses $QNX_TARGET/usr/include as the include directory.
+ usrinc="$QNX_TARGET/usr/include"
+
# If we use perl's malloc, it dies with an invalid sbrk.
# This is probably worth tracking down someday.
usemymalloc='false'