diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-05-29 13:19:20 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-06-08 12:36:30 -0400 |
commit | 34e133bd0e2d5bb4eed5d5091d14d9e6fce1ff2b (patch) | |
tree | 2abf64518759de4a84d4ac08e218021e9643d3f8 /build/header.mk | |
parent | 778295321928767552ebc577f15e88c17da4c1c9 (diff) | |
download | bfs-34e133bd0e2d5bb4eed5d5091d14d9e6fce1ff2b.tar.xz |
Embed more configuration info in bfs --version
Diffstat (limited to 'build/header.mk')
-rw-r--r-- | build/header.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build/header.mk b/build/header.mk index 76e9562..8b28346 100644 --- a/build/header.mk +++ b/build/header.mk @@ -63,6 +63,11 @@ gen/config.h: ${PKG_HEADERS} ${HEADERS} @printf '#endif // BFS_CONFIG_H\n' >>$@ @cat ${.ALLSRC:%=%.log} >gen/config.log ${VCAT} $@ + @printf '%s' "$$CONFIG" | build/embed.sh >gen/config.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 + @printf '%s' "$$XLDLIBS" | build/embed.sh >gen/ldlibs.i .PHONY: gen/config.h # The short name of the config test |