diff options
author | Paul Green <Paul.Green@stratus.com> | 2008-02-08 07:36:03 -0500 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2008-02-08 19:11:19 +0000 |
commit | 3722f0dc40a30b6ceedaf8704b690b384a8adb00 (patch) | |
tree | 58727ce9196f343d0c92a4f894f5fee186d168c7 /hints/vos.sh | |
parent | 7b0f711abd55488cc790ac95f935f46d630a87bb (diff) | |
download | perl-3722f0dc40a30b6ceedaf8704b690b384a8adb00.tar.gz |
RE: Perl @ 33218 (Stratus VOS patches)
From: "Green, Paul" <Paul.Green@stratus.com>
Message-ID: <F5F42E77A43DD944B6D664B00A5401CB037149FF@EXNA.corp.stratus.com>
Includes a fix to the patch to ext/Time/HiRes/Makefile.PL
p4raw-id: //depot/perl@33259
Diffstat (limited to 'hints/vos.sh')
-rw-r--r-- | hints/vos.sh | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/hints/vos.sh b/hints/vos.sh index d32f7e6f5a..3401c83e39 100644 --- a/hints/vos.sh +++ b/hints/vos.sh @@ -3,14 +3,14 @@ # This is a hints file for Stratus VOS, using the POSIX environment # in VOS 14.4.0 and higher. # -# VOS POSIX is based on POSIX.1-1996. It ships with gcc as the standard -# compiler. +# VOS POSIX is based on POSIX.1-1996 and contains elements of +# POSIX.1-2001. It ships with gcc as the standard compiler. # # Paul Green (Paul.Green@stratus.com) # C compiler and default options. cc=gcc -ccflags="-D_SVID_SOURCE -D_POSIX_C_SOURCE=199509L" +ccflags="-D_SVID_SOURCE -D_POSIX_C_SOURCE=200112L" # Make command. make="/system/gnu_library/bin/gmake" @@ -18,7 +18,11 @@ make="/system/gnu_library/bin/gmake" _make="/system/gnu_library/bin/gmake" # Architecture name -archname="hppa1.1" +if test `uname -m` = i786; then + archname="i786" +else + archname="hppa1.1" +fi # Executable suffix. # No, this is not a typo. The ".pm" really is the native @@ -37,7 +41,13 @@ loclibpth="$loclibpth /system/object_library" glibpth="$loclibpth" # Include library paths -locincpth="/system/stcp/include_library" +# Pick up vos/syslog.h on Continuum Platform. +if test "$archname" = "i786"; then + locincpth="" +else + locincpth=`pwd`/vos +fi +locincpth="$locincpth /system/stcp/include_library" locincpth="$locincpth /system/include_library/sysv" usrinc="/system/include_library" |