[LTP] [PATCH v2 2/2] make: print compiler version

Petr Vorel pvorel@suse.cz
Fri Jan 13 10:07:06 CET 2017


Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
I thought it might be useful for non-travis builds to see from logs compiler
version.
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 94f2532fd..229f29d81 100644
--- a/Makefile
+++ b/Makefile
@@ -173,6 +173,7 @@ SRCDIR_INSTALL_TARGETS	:= $(SRCDIR_INSTALL_SCRIPTS) $(SRCDIR_INSTALL_READONLY)
 #
 .PHONY: Version
 Version:
+	$(CC) --version
 	if git describe >/dev/null 2>&1; then \
 		git describe > "$@"; \
 	else \
-- 
2.11.0



More information about the ltp mailing list