Skip to content
Snippets Groups Projects
Commit d766b595 authored by Izzard, Robert Dr (Maths & Physics)'s avatar Izzard, Robert Dr (Maths & Physics)
Browse files

more warning suppression

parent 67b4a373
No related branches found
No related tags found
No related merge requests found
...@@ -494,6 +494,7 @@ sub secondary_variables ...@@ -494,6 +494,7 @@ sub secondary_variables
eval $f->{perl_pre}; eval $f->{perl_pre};
} }
no warnings;
foreach my $x ('extralibs', foreach my $x ('extralibs',
'extralibdirs', 'extralibdirs',
'extrainc', 'extrainc',
...@@ -506,11 +507,10 @@ sub secondary_variables ...@@ -506,11 +507,10 @@ sub secondary_variables
my $s = remws($f->{$x}); my $s = remws($f->{$x});
my $prl = '$'.$x.' .= " ".$s." ";'; my $prl = '$'.$x.' .= " ".$s." ";';
#print "PERL $prl\n"; #print "PERL $prl\n";
no warnings;
eval $prl; eval $prl;
use warnings;
} }
} }
use warnings;
# apply pkg-config libraries and C flags if given # apply pkg-config libraries and C flags if given
if($features->{have_pkg_config} && if($features->{have_pkg_config} &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment