mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
configure: remove bashism.
== is bash-only; for other shells this gives an error (meaning that you won't get the sanity check): ./configure Compiling ccan/tools/configurator/configurator...done ./configure: 148: [: gcc: unexpected operator Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
02faadfb93
commit
d98fb0fd5b
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -145,7 +145,7 @@ if [ -z "$VALGRIND" ]; then
|
|||
fi
|
||||
|
||||
if [ "$ASAN" = "1" ]; then
|
||||
if [ "$CC" == "clang" ]; then
|
||||
if [ "$CC" = "clang" ]; then
|
||||
echo "Address sanitizer (ASAN) is currently only supported with gcc"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue