diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-04-17 12:32:22 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-04-17 12:32:22 -0400 |
commit | 9f1107cf041d44e79f566f41fc117321fb42881f (patch) | |
tree | 6dc927bfaf1a2b79fcf259d02a059599dba5447a /config/flags.mk | |
parent | 94f26cec62be7f0d766f80f7376ea5e0040948ae (diff) | |
download | bfs-9f1107cf041d44e79f566f41fc117321fb42881f.tar.xz |
build: Directly generate version.c
Diffstat (limited to 'config/flags.mk')
-rw-r--r-- | config/flags.mk | 2 |
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" |