--- config/init/hints/dec_osf.pm.dist 2008-01-09 04:57:50.000000000 +0200
+++ config/init/hints/dec_osf.pm 2008-01-09 05:23:23.000000000 +0200
@@ -14,8 +14,10 @@
if ( $ccflags !~ /-pthread/ ) {
$ccflags .= ' -pthread';
}
+ if ( $ccflags !~ /-D_REENTRANT/ ) {
+ $ccflags .= ' -D_REENTRANT';
+ }
if ( $ccflags !~ /-D_XOPEN_SOURCE=/ ) {
-
# Request all POSIX visible (not automatic for cxx, as it is for cc)
$ccflags .= ' -D_XOPEN_SOURCE=500';
}
@@ -43,8 +45,9 @@
$conf->data->set( linkflags => $linkflags );
}
- # Required because of ICU using c++.
- $conf->data->set( link => "cxx" );
+ unless ( $conf->data->get("gccversion") ) {
+ $conf->data->set( link => "cxx" );
+ }
# Perl 5 hasn't been compiled with this visible.
$conf->data->set( has_socklen_t => 1 );