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

add warning correction for make so we know when the linker fails

parent befaa3ba
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,11 @@ while($_ = next_make_line())
# skip spurious intel compiler messages
<MAKE>;<MAKE>;<MAKE>;next;
}
elsif(m!unrecognized option '-Wl,-soname,libbinary_c.so'!)
{
# oops we're using ld as the linker when we should use gcc
print "\n\n$magenta Linking error $_ $reset\n\nTo fix this, try\n\nexport LD=gcc\n\nor\n\nexport LD=/usr/bin/gcc\n\nto use the compiler as a linker, then retry the build.\n\n\n";
}
else
{
next if(suppress_warning($_));
......
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