summaryrefslogtreecommitdiffstats
path: root/config/flags.mk
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-04-17 12:32:22 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-04-17 12:32:22 -0400
commit9f1107cf041d44e79f566f41fc117321fb42881f (patch)
tree6dc927bfaf1a2b79fcf259d02a059599dba5447a /config/flags.mk
parent94f26cec62be7f0d766f80f7376ea5e0040948ae (diff)
downloadbfs-9f1107cf041d44e79f566f41fc117321fb42881f.tar.xz
build: Directly generate version.c
Diffstat (limited to 'config/flags.mk')
-rw-r--r--config/flags.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/flags.mk b/config/flags.mk
index c9d7913..48f1a08 100644
--- a/config/flags.mk
+++ b/config/flags.mk
@@ -105,7 +105,7 @@ APPEND = append() { test -z "$$2" || printf '%s += %s\n' "$$1" "$$2" >>$@; }; ap
${GEN}/flags.mk::
${MSG} "[ GEN] ${TGT}"
- printf '# %s\n' "$@" >$@
+ printf '# %s\n' "${TGT}" >$@
${SETVAR} CPPFLAGS "$$BFS_CPPFLAGS"
${APPEND} CPPFLAGS "$$TSAN_CPPFLAGS"
${APPEND} CPPFLAGS "$$LINT_CPPFLAGS"