File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ compile_template: &COMPILE
40
40
else
41
41
MAKE_OPTS=-e
42
42
fi
43
+ make cc-version
43
44
if test "x$DO_MAINTAINER_CHECKS" = "xyes"; then
44
45
make maintainer-check
45
46
fi
Original file line number Diff line number Diff line change @@ -113,8 +113,14 @@ BUILT_THRASH_PROGRAMS = \
113
113
test/thrash_threads6 \
114
114
test/thrash_threads7
115
115
116
- all : lib-static lib-shared $(BUILT_PROGRAMS ) plugins $(BUILT_TEST_PROGRAMS ) \
117
- htslib_static.mk htslib-uninstalled.pc
116
+ all : lib-static lib-shared $(BUILT_PROGRAMS ) plugins \
117
+ $(BUILT_TEST_PROGRAMS ) htslib_static.mk htslib-uninstalled.pc
118
+
119
+ # Report compiler and version
120
+ cc-version :
121
+ -@$(CC ) --version 2> /dev/null || true
122
+ -@$(CC ) --qversion 2> /dev/null || true
123
+ -@$(CC ) -V 2> /dev/null || true
118
124
119
125
ALL_CPPFLAGS = -I. $(CPPFLAGS )
120
126
@@ -996,3 +1002,4 @@ force:
996
1002
.PHONY : clean-dylib install-dylib
997
1003
.PHONY : test_htscodecs_rans4x8 test_htscodecs_rans4x16 test_htscodecs_arith
998
1004
.PHONY : test_htscodecs_tok3 test_htscodecs_fqzcomp test_htscodecs_varint
1005
+ .PHONY : cc-version
You can’t perform that action at this time.
0 commit comments