This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix build failure on QNX
authorMatt Kraai <kraai@ftbfs.org>
Thu, 15 Nov 2007 15:01:34 +0000 (07:01 -0800)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Fri, 16 Nov 2007 11:00:07 +0000 (11:00 +0000)
Message-ID: <20071115230134.GA4032@ftbfs.org>

p4raw-id: //depot/perl@32332

hints/qnx.sh

index e4469a1..59eac07 100644 (file)
@@ -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'