summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parse.c1
-rw-r--r--src/prelude.h1
-rw-r--r--src/version.c4
3 files changed, 6 insertions, 0 deletions
diff --git a/src/parse.c b/src/parse.c
index a626391..9035344 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -2962,6 +2962,7 @@ static struct bfs_expr *parse_version(struct bfs_parser *parser, int arg1, int a
printf("No rights reserved (https://opensource.org/license/0BSD)\n\n");
printf("CONFIG := %s\n", bfs_config);
+ printf("CC := %s\n", bfs_cc);
printf("CPPFLAGS := %s\n", bfs_cppflags);
printf("CFLAGS := %s\n", bfs_cflags);
printf("LDFLAGS := %s\n", bfs_ldflags);
diff --git a/src/prelude.h b/src/prelude.h
index faa84ec..bca16b2 100644
--- a/src/prelude.h
+++ b/src/prelude.h
@@ -41,6 +41,7 @@
extern const char bfs_version[];
extern const char bfs_config[];
+extern const char bfs_cc[];
extern const char bfs_cppflags[];
extern const char bfs_cflags[];
extern const char bfs_ldflags[];
diff --git a/src/version.c b/src/version.c
index e2d4c87..9e5c82f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -11,6 +11,10 @@ const char bfs_config[] = {
#include "config.i"
};
+const char bfs_cc[] = {
+#include "cc.i"
+};
+
const char bfs_cppflags[] = {
#include "cppflags.i"
};