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

remove warnings

parent b08f8295
No related branches found
No related tags found
No related merge requests found
...@@ -551,13 +551,15 @@ sub secondary_variables ...@@ -551,13 +551,15 @@ sub secondary_variables
if($generic) if($generic)
{ {
no warnings;
# code should be portable # code should be portable
$coptflags =~ s/-msse\S+//g;
$cflags =~ s/-mtune=\S+/-mtune=generic/g;
$coptflags =~ s/-mtune=\S+/-mtune=generic/g;
$cflags =~ s/-march=\S+//g; $cflags =~ s/-march=\S+//g;
$coptflags =~ s/-march=\S+//g; $cflags =~ s/-mtune=\S+/-mtune=generic/g;
$coptflags =~ s/-msse\S+//g;
$coptflags =~ s/-mtune=\S+/-mtune=generic/g;
$coptflags =~ s/-march=\S+//g;
$coptflags =~ s/-m(3dnow|popcnt)//g; $coptflags =~ s/-m(3dnow|popcnt)//g;
use warnings;
} }
......
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