From 0d2ceff6f4244973bc34e401b55dcd74aa275a66 Mon Sep 17 00:00:00 2001 From: Robert Izzard <r.izzard@surrey.ac.uk> Date: Fri, 6 Sep 2019 16:03:21 +0100 Subject: [PATCH] update make to replace z with [sz] --- make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make b/make index 9d8bd01af..1c1a6c197 100755 --- a/make +++ b/make @@ -72,7 +72,7 @@ while($_ = next_make_line()) # skip spurious intel compiler messages <MAKE>;<MAKE>;<MAKE>;next; } - elsif(m!unrecognized option '-Wl,-soname,libbinary_c.so'!) + elsif(m!unrecogni[sz]ed 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"; -- GitLab