vlc | branch: master | Marvin Scholz <[email protected]> | Fri Jun 7 14:50:13 2019 +0200| [373039a70fa7af94649631657fad51a6b3cbcc10] | committer: Marvin Scholz
contrib: Discard stderr when checking for clang When Apple clang is called with the gcc alias with --version it would lead to printing "Configured with:…" info to stderr, causing confusing output in the bootstrap script and make runs. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=373039a70fa7af94649631657fad51a6b3cbcc10 --- contrib/src/main.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/src/main.mak b/contrib/src/main.mak index a1be81cacf..3f40b3b485 100644 --- a/contrib/src/main.mak +++ b/contrib/src/main.mak @@ -175,7 +175,7 @@ EXTRA_CFLAGS += -DWINSTORECOMPAT EXTRA_LDFLAGS += -lwinstorecompat endif -ifneq ($(findstring clang, $(shell $(CC) --version)),) +ifneq ($(findstring clang, $(shell $(CC) --version 2>/dev/null)),) HAVE_CLANG := 1 endif _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
