4 BEGIN { push @INC, $ENV{SOURCEPATH}; }
18 my $cflags = $ENV{CXXFLAGS};
19 $cflags =~ s/ -pedantic// if nopedantic($file);
20 $cflags .= ' ' . getcompilerflags($file);
23 if ($out =~ /\.so$/) {
24 $flags = join ' ', $cflags, $ENV{PICLDFLAGS}, getlinkerflags($file);
26 $flags = "$cflags -c";
29 my $execstr = "$ENV{RUNCC} $flags -o $out $file";
30 print "$execstr\n" if $verbose;