Ticket #265: patch-config_init_hints_openbsd_pm

File patch-config_init_hints_openbsd_pm, 0.5 KB (added by janus, 13 years ago)
Line 
1--- config/init/hints/openbsd.pm.orig   Mon Dec 29 11:15:20 2008
2+++ config/init/hints/openbsd.pm        Mon Dec 29 11:16:20 2008
3@@ -15,11 +15,15 @@ sub runstep {
4     }
5     $conf->data->set( ccflags => $ccflags );
6 
7+=for comment
8+
9     my $libs = $conf->data->get('libs');
10     if ( $libs !~ /-lpthread/ ) {
11         $libs .= ' -lpthread';
12     }
13     $conf->data->set( libs => $libs );
14+
15+=cut
16 
17     if ( ( split( m/-/, $conf->data->get_p5('archname'), 2 ) )[0] eq 'powerpc' ) {
18         $conf->data->set( as => 'as -mregnames' );