summaryrefslogtreecommitdiffstats
path: root/build/header.mk
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-06-13 15:31:53 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-06-13 15:31:53 -0400
commitc331357a9d23982f0b6378e3e6c8476f66d1313c (patch)
treec991d276655a821fa23266b0ab8bd81505aef7cb /build/header.mk
parent491dde55a5d153b567dc20b203b492f7c73b64c0 (diff)
downloadbfs-c331357a9d23982f0b6378e3e6c8476f66d1313c.tar.xz
build: Include CC in bfs --version output
Diffstat (limited to 'build/header.mk')
-rw-r--r--build/header.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/header.mk b/build/header.mk
index 8b28346..75fda41 100644
--- a/build/header.mk
+++ b/build/header.mk
@@ -64,6 +64,7 @@ gen/config.h: ${PKG_HEADERS} ${HEADERS}
@cat ${.ALLSRC:%=%.log} >gen/config.log
${VCAT} $@
@printf '%s' "$$CONFIG" | build/embed.sh >gen/config.i
+ @printf '%s' "$$XCC" | build/embed.sh >gen/cc.i
@printf '%s' "$$XCPPFLAGS" | build/embed.sh >gen/cppflags.i
@printf '%s' "$$XCFLAGS" | build/embed.sh >gen/cflags.i
@printf '%s' "$$XLDFLAGS" | build/embed.sh >gen/ldflags.i