From 45d3b5469846d045649a3f1b7d0f06e1edd30ad7 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Fri, 18 Aug 2006 16:03:17 +0300 Subject: g++/Tru64: got perl linking once got the linkage right Message-Id: <200608181003.k7IA3Hso276655@kosh.hut.fi> p4raw-id: //depot/perl@28741 --- hints/dec_osf.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hints') diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index c0f2bfc2d8..336e0ef99e 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -163,6 +163,11 @@ ccflags="$ccflags $_ccflags_strict_ansi" # g++ needs a lot of definitions to see the same set of # prototypes from et alia as cxx/cc see. +# Note that we cannot define _XOPEN_SOURCE_EXTENDED or +# its moral equivalent, _XOPEN_SOURCE=500 (which would +# define a lot of the required prototypes for us), because +# the gcc-processed version of contains fatally +# conflicting prototypes for wait3(). case "$cc" in *g++*) ccflags="$ccflags -D_XOPEN_SOURCE -D_OSF_SOURCE -D_AES_SOURCE -D_BSD -D_POSIX_C_SOURCE=199309L -D_POSIX_PII_SOCKET" ;; esac -- cgit v1.2.1