diff options
| author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2014-08-04 19:37:31 +0100 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2014-10-10 22:43:37 +0800 |
| commit | 7885fb7f6b076cbe35d484e4b1e50eaaa546fb99 (patch) | |
| tree | adadeffbd677236d69b58b7863fd72014b8c669e /validation/struct-as.c | |
| parent | d32b2f7c202fd27206169ca99da898ca9c20dfab (diff) | |
| download | sparse-dev-7885fb7f6b076cbe35d484e4b1e50eaaa546fb99.tar.gz | |
Makefile: suppress error message from shell
In particular, on systems which do not have 'llvm-config' installed,
every invocation of make issues the following messages:
/bin/sh: llvm-config: command not found
make: llvm-config: Command not found
A simple solution would be to suppress these messages by redirecting
stderr to the bit-bucket within the definitions of HAVE_LLVM_VERSION
and LLVM_VERSION.
As an alternative, however, we move the definition of LLVM_VERSION
down the file within the HAVE_LLVM conditional, which ensures that
the 'llvm-config' command exists. In addition, the HAVE_LLVM_VERSION
variable is replaced with an equivalent conditional expression.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'validation/struct-as.c')
0 files changed, 0 insertions, 0 deletions
