4 BEGIN { push @INC, $ENV{SOURCEPATH}; }
20 my $cflags = $ENV{CXXFLAGS};
21 $cflags =~ s/ -pedantic// if nopedantic($file);
22 $cflags .= ' ' . getcompilerflags($file);
25 if ($out =~ /\.so$/) {
26 $flags = join ' ', $cflags, $ENV{PICLDFLAGS}, getlinkerflags($file);
28 $flags = "$cflags -c";
31 my $execstr = "$ENV{RUNCC} $flags -o $out $file";
32 print "$execstr\n" if $verbose;