diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2009-07-18 20:42:56 +0000 |
---|---|---|
committer | Christopher Li <sparse@chrisli.org> | 2009-07-20 18:11:57 +0000 |
commit | 6298fb4d7325cf6967f4ff298472e5da8e129350 (patch) | |
tree | df1330500cc570370be93c355cd6352388987b20 /Makefile | |
parent | test-suite: be more verbose on 'unhandled' and 'known to fail' tests (diff) | |
download | sparse-6298fb4d7325cf6967f4ff298472e5da8e129350.tar.gz sparse-6298fb4d7325cf6967f4ff298472e5da8e129350.tar.bz2 sparse-6298fb4d7325cf6967f4ff298472e5da8e129350.zip |
Makefile: suppress error message from pkg-config
In particular, on systems which do not have 'pkg-config' installed,
every invocation of make issues the following message:
/bin/sh: pkg-config: command not found
Suppress the message by redirecting stderr to the bit-bucket.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ AR = ar # CFLAGS += -O0 -DDEBUG -g3 -gdwarf-2 # -HAVE_LIBXML=$(shell pkg-config --exists libxml-2.0 && echo 'yes') +HAVE_LIBXML=$(shell pkg-config --exists libxml-2.0 2>/dev/null && echo 'yes') HAVE_GCC_DEP=$(shell touch .gcc-test.c && \ $(CC) -c -Wp,-MD,.gcc-test.d .gcc-test.c 2>/dev/null && \ echo 'yes'; rm -f .gcc-test.d .gcc-test.o .gcc-test.c) |